proxy_cache not writing to proxy_cache_path

gms8994 nginx-forum at
Fri Nov 12 00:49:52 MSK 2010

I've got a config file like:

http {
   proxy_cache_path /var/www/nginx/cache levels=1:2

   server {
      location ~ \.js$  {
         proxy_cache        tmpcache;
         proxy_cache_key    $uri$is_args$args;
         proxy_pass http://global;

However, I'm not seeing any data stored in the tmpcache. No folders
created, no files. What am I missing?

Posted at Nginx Forum:,149945,149945#msg-149945

More information about the nginx mailing list