Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207135 - Gentoo Homepage does not expire in browser cache
Summary: Gentoo Homepage does not expire in browser cache
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: [OLD] News (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Infrastructure
URL: http://www.gentoo.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-23 09:27 UTC by Andreas Arens
Modified: 2008-01-23 21:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Arens 2008-01-23 09:27:41 UTC
If you surf to the gentoo homepage using firefox on either linux or winblows, the News section in the middle does not update until you klick the reload button, even though it has been updated days before.


Reproducible: Always

Steps to Reproduce:
1.Open a new browser, surf to www.gentoo.org, close browser
2.Update content of the site
3.Open browser again, surf to www.gentoo.org again - you still see the old content. Doesn't change for days. 

Actual Results:  
You see the old page.

Expected Results:  
See the updated content

Page header lacks expiry information
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-23 19:47:16 UTC
neysx: add some expiry stuff in the <head> block?
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2008-01-23 21:14:25 UTC
unCC'ed, one notification is enough, thanks

(In reply to comment #0)
> Page header lacks expiry information

Actually, it doesn't.

 curl -I http://www.gentoo.org/
HTTP/1.1 200 OK
Date: Wed, 23 Jan 2008 17:27:04 GMT
Server: Apache
ETag: "12f9-4797761c"
Content-Length: 15941
Last-Modified: Wed, 23 Jan 2008 17:15:08 GMT
Cache-Control: max-age=604800
Expires: Wed, 30 Jan 2008 17:27:04 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8


Cache-control/Expires was added to the apache config. No idea why or when.
It's useless. Gorg does provide ETag and Last-Modified and will honour the If-Modified-Since and If-None-Match HTTP request headers
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2008-01-23 21:33:17 UTC
$ curl -I http://wren.gentoo.org/
HTTP/1.1 200 OK
Date: Wed, 23 Jan 2008 21:32:46 GMT
Server: Apache
ETag: "12f9-4797ae5a"
Content-Length: 15941
Last-Modified: Wed, 23 Jan 2008 21:15:06 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8


Thanks for reporting