Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Refreshing Css by server
#3
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.
Reply


Messages In This Thread
Refreshing Css by server - by tomaszpio - 2010-03-27, 18:29:07
Refreshing Css by server - by Zegnåt - 2010-03-27, 23:30:29
Refreshing Css by server - by tomaszpio - 2010-03-28, 04:59:15



Users browsing this thread: 1 Guest(s)