[TYPO3-core] Gremlin #381: "Page is beinggenerated" should belocalized

Martin Kutschker Martin.Kutschker at blackbox.net
Thu Dec 22 21:19:16 CET 2005


Kasper Skårhøj <kasper2005 at typo3.com> writes on 
Mon, 19 Dec 2005 15:20:35 +0100 (MET):

> 
> Translated:
> 
> We have some cookie-related problems. Our caching system caches
> everything according to RFC, including set-cookie-header!
> 
> This gives problems
> 
> If user A without cookie enteres a non-cache page A1, then A receives
> a cookie and this cookie is cached for the page A1
> 
> If user B without cookie enters page A1, then he gets the cache cookie
> which was delivered to user A
> 
> This means we cannot expect frontend users to have unique cookies,
> meaning that new frontend users will take over other frontend users
> sessions!!....
> 
> Solution must be that TYPO3 sends other caching headers like 
> 
> Pragma: Private.


See:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1

So "Cache-Control: private" disables caching in shared storages (eg proxies) but allows caching in browser cache.

As I read it "Cache-Control: private" should always be sent when we have an active FE user session.

To disable all caching (incl. browser cache) "Cache-Control: no-cache" is the correct header.

So much for the specs. Of course MS and friends may surprise us with different views ;-)

Masi 



More information about the TYPO3-team-core mailing list