You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm try use nginx proxy_cache for caching large file. The following is my idea:
Browser --> Nginx --> Storage
Nginx is a function of caching and proxy server.
Storage is contain files server.
I'm have used ngx.var.upstream_cache_status to determine the status of the HIT file caching but it does'n work, nil value. Then I found this: subrequest proxy cache lua-nginx-module#125 . I would caching file with only GET method and use HEAD method is checked file caching done(HIT) but proxy_cache_methods doesn't work, proxy_method also. I'm try request from Browser with HEAD, GET method then nginx proxy pass to Storage server with GET methods, I do not understand what the reason.
The text was updated successfully, but these errors were encountered:
nguyennhatkhang92
changed the title
lua nginx can't read upstream_cache_status
nginx proxy_cache_methods doesn't work
Sep 7, 2015
Hi,
I'm try use nginx proxy_cache for caching large file. The following is my idea:
The text was updated successfully, but these errors were encountered: