1

My nginx config here: http://p.ngx.cc/0c

This link http://aa-tour.ru/static/system/css/style.css show me old cached version of file, how to remove it and clear cache? This is correct (new) version of file http://aa-tour.ru/static/system/css/style.css?v=1

It's just static file. I updated it (added some classes contact-form, contact-form-button)...

closed as off-topic by Chris S Jan 10 '14 at 14:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Chris S
If this question can be reworded to fit the rules in the help center, please edit the question.

4

This isn't nginx cache. In your config is absent proxy_cache, fastcgi_cache and similar directives at all.

File cached by your browser because of the directive expires 30d; at 35 line of config. Why did you decide that nginx cache this file?

To previous people who "answered". Guys, read the question attentively, please :D

  • I tried open this css file in browsers, which I didn't use before... In FF and Opera... – Alexander Ovchinnikov Jun 14 '13 at 11:37
  • In your config is absent nginx cache directives. That's all. Or you show us not full config, may be. – cadmi Jun 15 '13 at 13:13
1

You can try to use this bash script to delete your static files from the nginx cache:

Hope it helps.

1

Answer here: https://stackoverflow.com/questions/6236078/how-to-clear-the-cache-of-nginx

sendfile off;

Also disabled cloudflare...

Not the answer you're looking for? Browse other questions tagged or ask your own question.