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
This is a feature request and not a bug report. Otherwise, please create a new bug report instead.
Please check to see if this request (or a similar one) already exists.
It's a single feature. Please don't request multiple features in one issue.
Describe the feature you'd like
As mentioned in #3099, various CDNs/caches don't support (as in ignore) the Vary header.
As a result, instance operators using a cache ignoring the vary header are required to do one of the following:
disable caching entirely
set up custom cache rules to disable caching for paths used by both Lemmy and Lemmy-UI
set up custom cache keys if supported (Cloudflare locks this behind their enterprise plan)
To simplify setups, Lemmy-UI should have an option to explicitly mark paths used by both Lemmy and Lemmy-UI with cache-control: private, similar to how responses for authenticated users are treated.
This should not affect URLs that are exclusive to either Lemmy or Lemmy-UI, like static Lemmy-UI assets.
Requirements
Describe the feature you'd like
As mentioned in #3099, various CDNs/caches don't support (as in ignore) the
Vary
header.As a result, instance operators using a cache ignoring the vary header are required to do one of the following:
To simplify setups, Lemmy-UI should have an option to explicitly mark paths used by both Lemmy and Lemmy-UI with
cache-control: private
, similar to how responses for authenticated users are treated.This should not affect URLs that are exclusive to either Lemmy or Lemmy-UI, like static Lemmy-UI assets.
Related:
The text was updated successfully, but these errors were encountered: