Skip to content

partial purge with ngx_http_slice_module returns 404 #13

@infinityhacks

Description

@infinityhacks
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions