Skip to content

Nocache tags on 404 pages #10762

Closed Answered by jasonvarga
byron-roots asked this question in Troubleshooting
Discussion options

You must be logged in to vote

Yes, you can enable the shared errors option. All 404s would be considered the same page, rather than a separate cached page for every missing page.

See the PR: #10294

In config/statamic/static_caching.php set 'share_errors' => true

This has not been documented yet though. statamic/docs#1376

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@byron-roots
Comment options

Answer selected by byron-roots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants