Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
intricatedetail
· 5y ago · 0 comments
Does Nginx still not support cache invalidation? If you setup long TTL, is there a way to remove some files from cache without nuking entire cache and restarting an instance?
Comments
[–]
33degrees
5y ago
It's supported, but only for NGINX Plus. You can kind of work around it by using proxy_cache_bypass though
[–]
toredash
5y ago
Or delete the file in question on disc, the full path is encoded, and I've come across scripts and lua modules that does it for you.