Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partial purge with ngx_http_slice_module returns 404 #13

Open
infinityhacks opened this issue Dec 23, 2017 · 0 comments
Open

partial purge with ngx_http_slice_module returns 404 #13

infinityhacks opened this issue Dec 23, 2017 · 0 comments

Comments

@infinityhacks
Copy link

infinityhacks commented Dec 23, 2017

slice              1m;
proxy_cache_key    $host$uri$is_args$args$slice_range;
proxy_set_header   Range $slice_range;

After several test, I found when the proxy_cache_key ends with $slice_range which is a key config of ngx_http_slice_module, the partial purge will return 404.

The partial purge can work after I remove $slice_range from the cache key.

With my test, the purge_all function can work well under this situation.

@infinityhacks infinityhacks changed the title partial purge can not work with ngx_http_slice_module returns 404 partial purge with ngx_http_slice_module returns 404 Dec 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant