[Laszlo-checkins] r8615 - openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/utils

hqm@openlaszlo.org hqm at openlaszlo.org
Thu Apr 10 09:24:51 PDT 2008


Author: hqm
Date: 2008-04-10 09:24:46 -0700 (Thu, 10 Apr 2008)
New Revision: 8615

Modified:
   openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/utils/LZHttpUtils.java
Log:
Change 20080410-hqm-8 by hqm at badtzmaru.local on 2008-04-10 12:22:32 EDT
    in /Users/hqm/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: use different cache control headers to work around IE7 bug

New Features:

Bugs Fixed: LPP-5742

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
Don't send Cache-Control: no-cache in the response header, because
IE7 will fail to read the HTTPS response properly.

Setting headers to
"Cache-Control", "cache, must-revalidate"
"Pragma", "public"

per suggestion on the net


Tests:

bug report test case works in IE (proxied mode)
test/lfc/data/alldata.lzx




Modified: openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/utils/LZHttpUtils.java
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/utils/LZHttpUtils.java	2008-04-10 14:47:21 UTC (rev 8614)
+++ openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/utils/LZHttpUtils.java	2008-04-10 16:24:46 UTC (rev 8615)
@@ -3,7 +3,7 @@
  * ****************************************************************************/
 
 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * J_LZ_COPYRIGHT_END *********************************************************/
 
@@ -408,7 +408,9 @@
                 LZHttpUtils.class.getName(),"051018-408")
             );
         } 
-        res.setHeader(CACHE_CONTROL, NO_STORE);
+        res.setHeader("Cache-Control", "cache, must-revalidate");
+        res.setHeader("Pragma", "public");
+        //        res.setHeader(CACHE_CONTROL, NO_STORE);
     }
 
 



More information about the Laszlo-checkins mailing list