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
Me too. Would be nice if the nocache tag just fell back to the partial when static caching isn't available, but that's apparently more complicated than it seems. ##6744
Also, weirdly it seems the statamic.web middleware is being applied to my error pages so I don't understand why NO_CACHE_PLACEHOLDER is being shown:
Bug description
Using
{nocache}
in a layout means that on 404 pages we see a lot of{NOCACHE_PLACEHOLDER}
being output instead of what we wanted not to be cached.It seems the middleware is not being run?
How to reproduce
Add {nocache} to your layout and hit a 404 page on your install.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response
The text was updated successfully, but these errors were encountered: