code: @Override
  	protected void addGenericHeaders(final UIContext uic, final WComponent ui) {
  		// Note: This effectively prevents caching of anything served up from a WServlet.
  		// We are ok for WContent and thrown ContentEscapes, as addGenericHeaders will not be called
  		if (getBackingRequest() instanceof SubSessionHttpServletRequestWrapper) {
  			getBackingResponse().setHeader("Cache-Control", CacheType.NO_CACHE.getSettings());
  			getBackingResponse().setHeader("Pragma", "no-cache");
  			getBackingResponse().setHeader("Expires", "-1");
  		}
  		// This is to prevent clickjacking. It can also be set to "DENY" to prevent embedding in a frames at all or
  		// "ALLOW-FROM uri" to allow embedding in a frame within a particular site.
  		// The default will allow WComponents applications in a frame on the same origin.
  		getBackingResponse().setHeader("X-Frame-Options", "SAMEORIGIN");
  	}
docs: {@inheritDoc}