Author: mcardle
Date: Thu Aug 3 06:45:34 2006
New Revision: 1066
URL:
https://svndev.jahia.net/websvn/listing.php?sc=1&rev=1066&repname=corporate_portal_templates
Log:
* now uses page title to notify ESI server bypassing
Modified:
trunk/src/view/jsp/include/header.inc
Modified: trunk/src/view/jsp/include/header.inc
URL:
https://svndev.jahia.net/websvn/diff.php?path=/trunk/src/view/jsp/include/header.inc&rev=1066&repname=corporate_portal_templates
==============================================================================
--- trunk/src/view/jsp/include/header.inc (original)
+++ trunk/src/view/jsp/include/header.inc Thu Aug 3 06:45:34 2006
@@ -219,7 +219,7 @@
<%
//Display special info when ESI is enabled
if (jData.getProcessingContext().settings().isEsiCacheActivated()) { %>
- <esi:remove><p><b>REQUEST NOT PASSED THROUGH ESI SERVER (ignore
msg for POSTs)</b></p></esi:remove>
+ <esi:remove><script language="JavaScript">
document.title=document.title+' (non-ESI parsed/cached)';</script> </esi:remove>
<%
String esiInvParam = request.getParameter("esi");
String isFragmentRequested = request.getParameter("__esi_fragment");