Results 1 to 1 of 1
Aug 10, 2007, 00:08 #1
- Join Date
- Sep 2004
- 0 Post(s)
- 0 Thread(s)
CSS and JS Bundling Cache Problem
For those of you who use css and js bundling, just like sitepoint does, there is a cache error. The script found from http://rakaz.nl/item/make_your_pages..._and_css_files
provides a script that allows for combining all your static css files into one big css file or one big js file. The browser then downloads just the file which reduces the overhead caused by opening and closing connections.
This is the tutorial for setting it up:
Anyways I noticed that the generated file doesn't get cached at all on the clientside. Maybe some headers for setting the file to cache are missing.
What kind of header values do I need to set so that the browser doesn't download the file each time?I can't believe I ate the whole thing