Re: Using request URI path to store cached files instead of MD5 hash-based path

2017-10-06 Thread Lucas Rolff
Hi, > Is it possible to change this behaviour through configuration to cache the > files using the request URI path itself, say, under the host-name directory > under the proxy_cache_path. No, it’s not possible to do that with proxy_cache, you can however do it with proxy_store (

Using request URI path to store cached files instead of MD5 hash-based path

2017-10-05 Thread rnmx18
Hi, If proxy caching is enabled, NGINX is saving the files under subdirectories of the proxy_cache_path, based on the MD5 hash of the cache-key and the levels parameter value. Is it possible to change this behaviour through configuration to cache the files using the request URI path itself, say,