Proxy Cache - Check if file has been cached

Simon Leins simon.leins at
Thu Dec 30 18:52:53 MSK 2010

Checking the header "Expires" is probably the most reliable way.



2010/12/30 digger18 <nginx-forum at>

> Hi,
> I have implemented nginx with proxy cache successfully, however, I need
> to have the ability to check if a certain file is already cached or
> not.
> Is there a way to get a list of cached files?
> Maybe another way will be to send a HEAD request which contains the file
> URI to the proxy cache server to check if a file is already in cache?
> Are these methods possible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list