How do I force NGINX to load new static files?
Solution 1:
Have you tried manually deleting everything that is in your cache? This is typically /var/cache/nginx
.
I believe that having add_header Cache-Control no-cache;
set should keep things from being cached, but perhaps you have something that was cached in there before you set that?
Solution 2:
Setting expires -1;
inside of a location block will actually disable caching completely.