03-26-2003, 06:02 AM #1
I love css
But.... does anybody know of a way I can stop the caching of the css file (it's linked to with the <link rel=> tag)? Do I have to put the whole thing in the head, or is there a way I can avoid that?I'm in your forums, writing sentences in a grammatically acceptable manner.
07-08-2003, 04:33 AM #2meerkGuestOriginally Posted by muso
This way it will override any CSS you put in your <head> tags. That's why it's called 'Cascading Style Sheets'
07-13-2003, 06:27 AM #3Originally Posted by meerk
No caching occurs if I embed the whole stylesheet in the head, but with a large stylesheet this is impractical if I want to change a global attribute.I'm in your forums, writing sentences in a grammatically acceptable manner.
09-21-2003, 07:13 PM #4urbandykeGuest
you could use an include (either ssi or php) for the styles in the head if it's for practicality.
09-21-2003, 09:02 PM #5
- Member Since
- Jun 11, 2003
- Mount Vernon, WA
- MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
No because cache is usually on the client side and not the server side.. which ssi and php are both server side.
You can send commands to the browser so that it will not cache the content, but since there are so many bugs in browsers.. it doesnt seem to work anymore.
Here is a page that has a decent breakdown:
http://www.htmlgoodies.com/beyond/nocache.html---> Join the Mac-Forums Folding team: use 37954 as your team number.
View Mac-Forums Folding team statistics (More Info)
Don't forget to use the User Reputation System
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By benparko in forum Web Design and HostingReplies: 8Last Post: 09-30-2010, 04:31 PM
By vicariousgeorge in forum Web Design and HostingReplies: 6Last Post: 10-17-2007, 08:40 PM
By Lewwy in forum Web Design and HostingReplies: 4Last Post: 07-10-2007, 01:05 PM
By schwine in forum Movies and VideoReplies: 1Last Post: 08-22-2006, 06:14 PM