0

I'm using http public cache all over an images website to allow clients and anyone between the clients and my server (eg: cloudflare, isp, etc) to cache HTML, assets (js/css/icons), and images (the main content of the website). But I don't want nginx to cache these images, because it will take too much space. I'm not sure whether it's happening, I don't know how to check.

So how do I check, and if it's happening, how do I stop it, without also stopping client and proxies cache?

Note: I'm using nginx as web server with fastcgi, and not as a proxy

1 Answer 1

1

If you haven't explicitly set up nginx as a caching proxy, then it will not cache your images or other static content, but merely serve it from the filesystem.

2
  • I'm using fastcgi_cache, I forgot. Jan 19, 2013 at 14:02
  • Oh but I'm using it in a .php location, so I guess it won't affect static images. Jan 19, 2013 at 14:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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