Most likely! Thanks for the quick reply. Do you know if I can take the
patched 3.6.4 class and comply it with the 3.6.3 Magnolia? This is a
pretty bad one and we need to fix it one way or the other. Waiting for
the official release of 3.6.4 is therefore not an option - unless it
will be out within the next 10 days for sure ;-)
-will
On 04.03.2009, at 12:39, Jan Haderka wrote:
Hey Will,
I think you might be running into
http://jira.magnolia-cms.com/browse/MAGNOLIA-2448
fix will be released with 3.6.4/4.0
Cheers,
Jan
On Wed, 2009-03-04 at 12:12 +0100, Will Scheidegger wrote:
Dear Magnolians
We have been faced with this rather serious problem with several
Magnolia sites: Content is not being refreshed unless you clear the
browser cache.
To illustrate things, I ran the following test below today. Could
anyone tell me what I have to do that Magnolia does NOT return a 304
"Not modified" header for modified pages?! I cannot send out mails to
all internet users telling them to clear their cache...
Thanks a bunch.
-will
Test setup:
- Magnolia 3.6.3
- Chache settings in the public instance:
- config:/modules/cache/configurations/default/browserCachePolicy/
class: info.magnolia.module.cache.browsercachepolicy.FixedDuration
- config:/modules/cache/configurations/default/browserCachePolicy/
expirationMinutes: 30
Test log:
11:04 - Loaded http://www.mtbcycletech.com/web/mtb/de.htmll in my
Browser (Firefox 2, no special cache settings)
HTTP Headers:
----------------------------------------------------------
http://www.mtbcycletech.com/web/mtb/de.html
GET /web/mtb/de.html HTTP/1.1
Host: www.mtbcycletech.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:
1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-ch,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: JSESSIONID=3C3CF0823DA75A1D6CEBC67543ED3DE1
HTTP/1.x 200 OK
Date: Wed, 04 Mar 2009 10:06:41 GMT
Server: Apache
Cache-Control: max-age=1800, public
Expires: Wed, 4 Mar 2009 10:34:59 GMT
Last-Modified: Mon, 02 Mar 2009 21:35:42 GMT
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 2811
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Content-Type: text/html;charset=UTF-8
----------------------------------------------------------
11:33 - Done updating the content of this page in the author instance
11:34 - Activated modified page to the public instance
11:35 - Reloaded the page http://www.mtbcycletech.com/web/mtb/de.html
in Firefox -> still getting the old content (304 returned!)
HTTP Headers:
----------------------------------------------------------
http://www.mtbcycletech.com/web/mtb/de.html
GET /web/mtb/de.html HTTP/1.1
Host: www.mtbcycletech.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:
1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-ch,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: JSESSIONID=3C3CF0823DA75A1D6CEBC67543ED3DE1
If-Modified-Since: Mon, 02 Mar 2009 21:35:42 GMT
Cache-Control: max-age=0
HTTP/1.x 304 Not Modified
Date: Wed, 04 Mar 2009 10:35:17 GMT
Server: Apache
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Expires: Wed, 4 Mar 2009 11:03:35 GMT
Cache-Control: max-age=1800, public
----------------------------------------------------------
12:03 - Reloaded -> same result
12:06 - Reloaded -> same result
12:07 - Quit Firefox
12:08 - Restarted Firefox
12:09 - Reloaded -> STILL same result!
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
--
Best regards,
Jan Haderka
Magnolia International Ltd.
----------------------------------------------------------------------
[email protected] http://www.magnolia-
cms.com
Magnolia® - Simple Open Source Content Management
----------------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------