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
The text was updated successfully, but these errors were encountered:
stuartcusackie
changed the title
@nocache directive doesn't work properly when static caching disabled.
@nocache partial missing vars when static caching disabled.
Nov 19, 2024
Bug description
A blade
@nocache
problem seems to have been created in a recent release. It wasn't a problem before.I need access to the
$page
variable in one of my no-cached partials, e.g.:Why am I disabling static caching? It is always disabled on my local environment and enabled on the server.
How to reproduce
Try to access
$page
in a@nocache
partial when static caching is disabled.Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: