The CSS does not cache with this method in my installation of Firefox 1.5.0.4, not sure about IE or Safari. See results for CSS file from Firefox’s
about:cache?device=disk
-
Key: ****://x2.dev/assets/templates/default/css/main1.0.css?version=1
Data size: 1099 bytes
Fetch count: 5
Last modified: 2006-06-10 09:15:03
Expires: 2006-06-10 09:17:12
-
I think that a more reliable way of getting the new CSS rendered is to copy and then change the name of the CSS file to be edited.
i.e.
main1.0.css
or
main060622.1022.css
Reference new edited CSS, archive the old version.
You have to edit an extra file, but at least you get the speed benefits of CSS caching as well as a method of keeping track of changes within your style sheets.
Quote from: Starbuck at Apr 06, 2006, 08:23 AM
Is it xhref or href ? I tried xhref and hit problems with IE6
xhref is not an attribute in any current w3c standard I think it is a typo.