Hacker News new | ask | show | jobs
by intricatedetail 1778 days ago
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?
1 comments

It's supported, but only for NGINX Plus. You can kind of work around it by using proxy_cache_bypass though
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.