Hello,

I have a little problem with the browser cache policy. It does not work :-D

I just tried it at http://demoauthor.magnolia-cms.com

When I am calling http://demopublic.magnolia-cms.com/demo-project/about.html 
for example and I am watching the header data I am reading:
[code]
HTTP/1.0 200 OK
Date: Thu, 14 Mar 2013 12:36:09 GMT
Server: Apache/2.2.14 (Ubuntu)
X-Magnolia-Registration: Registered
Vary: Accept-Encoding
Content-Encoding: gzip
Last-Modified: Thu, 14 Mar 2013 12:36:09 GMT
Content-Length: 3550
Content-Type: text/html;charset=UTF-8
[/code]

Same at local instance.

I also tried to write to write 
 [code]MgnlContext.getWebContext().getResponse().setHeader("Expires", 
DATE_FORMAT.format(futureDate));
[/code]

but it won't get it to the header. The same with "Cache-Control". I tried to 
write some random stuff into the header like

[code]MgnlContext.getWebContext().getResponse().setHeader("Test", "magnolia 
rocks");
[/code]

which worked.

So is there a bug, a very hidden filter, removing my cache configurations or am 
I doing something wrong?


Thanks for answers
Wolfgang

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=8526d3dc-e1f2-437e-bb43-183fc50b99ba


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to