Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
I'm using fastcgi_cache, I forgot. –  ChocoDeveloper Jan 19 '13 at 14:02
    
Oh but I'm using it in a .php location, so I guess it won't affect static images. –  ChocoDeveloper Jan 19 '13 at 14:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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