Bug description
I noticed that 404 pages are cached when half static caching is active. That’s not the case with full static caching.
How to reproduce
- Activate
half static caching
- Create and publish two pages, one with the slug
parent and one with the slug child, both on the top level of the page tree.
- View the URL
/parent/child at the frontend, you get a 404 error
- Move the
child page in the page tree below the parent page and save the page tree
- Visit
/parent/child again and you still get the 404
Logs
No response
Environment
Environment
Application Name: Statamic
Laravel Version: 11.21.0
PHP Version: 8.3.9
Composer Version: 2.7.7
Environment: local
Debug Mode: ENABLED
URL: example.com
Maintenance Mode: OFF
Timezone: UTC
Locale: de
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: null
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file
Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled
Static Caching: half
Version: 5.17.0 PRO
Installation
Other (please explain)
Additional details
We use a custom starter kit at work, where I tested it, but it’s pretty basic without much modifications.
Bug description
I noticed that 404 pages are cached when
halfstatic caching is active. That’s not the case withfullstatic caching.How to reproduce
halfstatic cachingparentand one with the slugchild, both on the top level of the page tree./parent/childat the frontend, you get a 404 errorchildpage in the page tree below theparentpage and save the page tree/parent/childagain and you still get the 404Logs
No response
Environment
Installation
Other (please explain)
Additional details
We use a custom starter kit at work, where I tested it, but it’s pretty basic without much modifications.