Welcome to WebmasterWorld Guest from 54.198.60.39

Forum Moderators: not2easy

Message Too Old, No Replies

Do browsers cache css files?

     
7:18 pm on May 2, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 25, 2000
posts:541
votes: 0


I think they do but I wanted to be sure before I write a complex 5K css file.
8:41 pm on May 2, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Yes, they do. JS files as well.
12:44 pm on May 3, 2001 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38062
votes: 13


This is why it is best to keep css in static files where the webserver can generate a last modified date. Or if dynamically server, generate your own last modified.