Full page reload on Post/Redirect/Get ignoring cache control
        Posted  
        
            by Kristof Neirynck
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Kristof Neirynck
        
        
        
        Published on 2010-06-09T09:50:43Z
        Indexed on 
            2010/06/09
            12:12 UTC
        
        
        Read the original article
        Hit count: 467
        
I have a page that loads a lot of images, css and javascript. I've added a far future Expires header and set Cache-Control to public on these external dependencies so they should be cached. But every time I do a Post/Redirect/Get chrome tries to load these again. This behavior is very similar to reloading the page. I've added ETags and handle the If-None-Match header which helps a bit, but it still generates too many useless requests.
How do I tell chrome and safari to get the files from cache?
chrome   NOK
safari   NOK
firefox  OK
ie       OK
Also see Full page reload on Post/Redirect/Get ignoring cache control on the google support forum.
© Stack Overflow or respective owner