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
After changing a previously published page to draft again, I expected it to no longer be accessible on the site.
What actually happens?
The page is still accessible at the public URL. Looking at the response when accessing the unpublished page at its public URL, I see the fastcgi-cache header is always STALE. This is true even after waiting for over the default 30s cache duration.
If the cache is disabled, after changing a published page back to a draft, the public URL returns a 404 as expected.
The same issue looks to have been discussed in a previous support forum request but I think it's a bug as I would expect the caching config to work as expected by default in this case.
Steps to reproduce
Provision site with cache enabled with default settings e.g.
gpoole
changed the title
Enabling caching prevents previously published pages being changed to draft
Enabling caching prevents previously published pages being unpublished by changing to draft
Nov 11, 2024
Version
1.22.1
What did you expect to happen?
After changing a previously published page to draft again, I expected it to no longer be accessible on the site.
What actually happens?
The page is still accessible at the public URL. Looking at the response when accessing the unpublished page at its public URL, I see the
fastcgi-cache
header is alwaysSTALE
. This is true even after waiting for over the default 30s cache duration.If the cache is disabled, after changing a published page back to a draft, the public URL returns a 404 as expected.
The same issue looks to have been discussed in a previous support forum request but I think it's a bug as I would expect the caching config to work as expected by default in this case.
Steps to reproduce
System info
Ubuntu 22.04
Log output
No response
Please confirm this isn't a support request.
Yes
The text was updated successfully, but these errors were encountered: