Update/Delete cache entry.
nginx-forum at nginx.us
Tue Jan 17 09:13:44 UTC 2012
I have an entry cache with nginx :
head -n10 /tmp/nginx/f/a78359efac162eed0807e0d85761441f
HTTP/1.1 200 OK
X-Cache-Action: PASS (non-cacheable)
Cache-Control: private, max-age=60
I'd like update this entry before expired time of cache, so I will bash
a script to delete the entry file match the URL.
I read that the cache file name is generated from md5sum of URL.
But when I use command :
echo "http://www.bbc.co.uk/" | md5sum
The result does not match the filename cached ?!
Is there any relation from file name and linux command md5sum ?
and is there another way to update/delete an entry of cache ?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221355,221355#msg-221355
More information about the nginx