costimuraru / tadedon

Automatically exported from code.google.com/p/tadedon
0 stars 0 forks source link

Why does CacheForcingFilter have a pragma "no-cache" header? #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
More of a question really - in CacheForcingFilter it sets pragma to "no-cache". 
Is this correct? Should this header be set at all when you *want* to cache? I 
though the pragma "no-cache" on the response was only a hack for preventing 
Firefox FireFox caching. 

http://code.google.com/p/tadedon/source/browse/tadedon-servlet/src/main/java/com
/xemantic/tadedon/servlet/CacheForcingFilter.java

Carl Pritchett

Original issue reported on code.google.com by carl.pri...@gmail.com on 27 Feb 2012 at 9:51

GoogleCodeExporter commented 8 years ago
You are rights, it makes no sense. Probably some copy-paste remains. Should be 
fixed by this commit:

https://code.google.com/p/tadedon/source/detail?r=2375f0ab3bc767a0daebfcf7242ba7
49e8c4b384&name=develop

Original comment by mori...@xemantic.com on 20 Sep 2013 at 10:57

GoogleCodeExporter commented 8 years ago

Original comment by mori...@xemantic.com on 20 Sep 2013 at 11:01