Disable XSP Cache and Compression for XPage


/*****
 *** Disable XSP Cache and Compression for current response
 *** Add to BeforeRenderResponse-Event of XPage
 *****/
var response:com.ibm.xsp.webapp.XspHttpServletResponse;
response = facesContext.getExternalContext().getResponse();
response.disableXspCache(false);
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
1 comment(s)Login first to comment...
jeniffer homes
(at 07:49 on 19.12.2015)
The isIE() method will return false. The getBrowser() method will return 'Unknown'.