Skip to content

Trigger page cache kill switch before sending redirect response for non-hotlinked resources.

The page_cache module ends up caching the redirect response from StageFileProxySubscriber which can cause infinite loops when requesting image style derivatives in the non-hotlinking mode. This change just triggers the page cache kill switch before returning the redirect response.

Closes #3421948

Merge request reports