Comment on The 5-Hour CDNComments−intricatedetail5yDoes 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?−33degrees5yIt's supported, but only for NGINX Plus. You can kind of work around it by using proxy_cache_bypass though−toredash5yOr 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.
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?
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.