Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88327 - With new website style mozilla/ff doesn't always get new css as file name is the same
Summary: With new website style mozilla/ff doesn't always get new css as file name is ...
Status: RESOLVED LATER
Alias: None
Product: Websites
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
: 88590 88935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-08 02:07 UTC by Peter Westwood
Modified: 2005-05-06 23:16 UTC (History)
5 users (show)

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 Peter Westwood 2005-04-08 02:07:56 UTC
New site looks bad in FF/mozilla until you force a full refresh

Reproducible: Always
Steps to Reproduce:
1. Look at site with old css in cache
2. Looks bad
3.




Easy to fix - version the link to the css like so:

main.css?version=1

and increment the version number on major changes - should force all browsers to
get new css.
Comment 1 Mike Nerone 2005-04-12 09:14:58 UTC
Confirmed with Firefox here. I thought the redesign was just horrible taste until I saw this bug and went through the migration procedure (i.e. hitting "reload" :P ). Now it looks much nicer. :)
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2005-04-15 08:11:02 UTC
*** Bug 88935 has been marked as a duplicate of this bug. ***
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2005-04-15 08:14:11 UTC
Good point.
A bit too late now but we'll keep that in mind for next time.
Sorry about the inconvenience.
Comment 4 Mike Nerone 2005-04-15 18:45:05 UTC
Why is it too late? Can't the templates simply be changed to:

  <link title="new" rel="stylesheet" href="/css/main.css?version=1" type="text/css">

just as Peter Suggested? This looks like a new URL to the browser, so it skips the cache, but the server ignores the "?version=1" and just provides the proper css. Then, by just incrementing that in the template when there are major changes, it forces cache misses and everything works. No?
Comment 5 SpanKY gentoo-dev 2005-05-06 23:16:42 UTC
*** Bug 88590 has been marked as a duplicate of this bug. ***