Skip to content

TSCacheUrlSet callable only once #6433

@traeak

Description

@traeak

When chaining plugins together only the first TSCacheUrlSet wins. For cache_range_requests this failure is only printed as a debug.

For cachekey followed by cache_range_requests the result is that only the very first cached range ends up being served for every single subequent range request.

For cache_range_requests followed by cachekey the results could be catastrophic.

As a workaround for this case the cachekey plugin can be used to add the range header to the cache key.

There is an existing api around TSCacheKey which could possibly be extended to accommodate plugins progressively manipulating the cache key.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions