Proxy Cache - Check if file has been cached

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


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

Cheers,

Simon


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

> 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: <http://nginx.org/pipermail/nginx/attachments/20101230/57742208/attachment.html>


More information about the nginx mailing list