2010-03-27, 18:29:07
I'm writting my own theme for GetsSimple. When I change my css I can't result in the browser, I try to refresh using F5 by it doesn't work. I can see the changes but after about 2 minutes.
Refreshing Css by server
|
2010-03-27, 18:29:07
I'm writting my own theme for GetsSimple. When I change my css I can't result in the browser, I try to refresh using F5 by it doesn't work. I can see the changes but after about 2 minutes.
2010-03-27, 23:30:29
Clear your browser cache by hand or check the HTTP response send by the server along with the CSS file. It sounds like it is set to be cached for a long period, which is normally exactly how you want it as you’re not going to be updating the CSS every day on a deployed website.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
2010-03-28, 04:59:15
Zegnåt Wrote:Clear your browser cache by hand or check the HTTP response send by the server along with the CSS file. It sounds like it is set to be cached for a long period, which is normally exactly how you want it as you’re not going to be updating the CSS every day on a deployed website. Thanks this works. I set <FilesMatch "\.(css|js)$"> Header set Cache-Control "no-cache" </FilesMatch> in htaccess. I will leave it for development time. |
« Next Oldest | Next Newest »
|