For the case where the FDS endpoint is setting the no-cache header, the
must-revalidate would have to be added at that time too... so it's
something we'd have to change on FDS. I've logged a bug 203271 for us to
track this issue.
 
If it were some other tool/filter/what-have-you adding this no-cache
header that's a different story and would be up to that implementation
to fix.
 
Pete

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Friday, April 06, 2007 1:04 PM
To: [email protected]
Subject: Re: [flexcoders] Flex 2, AMF, Tomcat, and gzip



setting Cache-Control: no-cache, must-revalidate is somewhere in Tomcat
I suppose?

With Peter's help I got this working.  A real treat too.  In my case I
have a app that converts ~800 records of data to XML in Oracle.  The XML
is in a format the Flex Tree can digest.   The whole req/response cycle
from asking for this data from Flex via remoting, Java asking for the
data via JDBC, Oracle fetching it and returning it to Java land, Flex
doing the AMF thing, Tomcat doing the gzip thing and returning it to the
client, and then the Tree rendering it all happens in <1/2 sec! 


DK


On 06 Apr 2007 09:15:27 -0700, Peter Farland <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 

        

        As discussed but I wanted to record this on the forum, a work
around for this MSIE issue (http://support.microsoft.com/kb/871205
<http://support.microsoft.com/kb/871205> ) is to set the
<add-no-cache-headers>false</add-no-cache-headers> property in the
appropriate channel-definition in /WEB-INF/flex/services-config.xml.
         
        FWIW, we've also found that setting must-revalidate in addition
to no-cache also works around the issue, i.e.
        
        Cache-Control: no-cache, must-revalidate
         
         
         
         

        
________________________________

        From: [email protected]
[mailto:[email protected] <http://yahoogroups.com> ] On Behalf
Of Douglas Knudsen
        Sent: Friday, April 06, 2007 10:31 AM
        To: [email protected]
        Subject: [flexcoders] Flex 2, AMF, Tomcat, and gzip
        
        
        ugh, so I turned gzip compression on in Tomcat.  Wow, saw a
major decrease in file size with the project I'm working on.  Then I
tested in IE, fsck!!  Been searching all over for info on this, can't
seem to find the solution though.  How to get gzip compression working
for IE? 
        
        -- 
        Douglas Knudsen
        http://www.cubicleman.com <http://www.cubicleman.com> 
        this is my signature, like it? 

        

        




-- 
Douglas Knudsen
http://www.cubicleman.com <http://www.cubicleman.com> 
this is my signature, like it? 

 

Reply via email to