Description
Broadly, the Workers Cache and Object Cache work great, but there are specific instances in which they don't consistently apply for edits made in the admin panel.
One way of approaching this is #2297, but another would be looking into the logic around cache clearing to solve the underlying issues:
- Update OG image
- Update the excerpt
- Update images within the body of a post (but no other text)
- Update HTML blocks within the body of a post (but no other text)
Feels like an issue with the object cache, but that's for y'all to determine.
Steps to reproduce
- Create an EmDash worker with the Workers Cache / Object Cache enabled.
- Make a content entry and then make updates to one of the items noted above.
- Look at the published output.
If you do this a few times you can usually repro.
This might also be solved by #2280, but worth having a dedicated issue in case it isn't (specifically in the excerpt / images / SEO items).
Environment
- emdash: 0.31.0
- Cloudflare Workers + Hyperdrive + Object cache and workers cache enabled
Logs / error output
Description
Broadly, the Workers Cache and Object Cache work great, but there are specific instances in which they don't consistently apply for edits made in the admin panel.
One way of approaching this is #2297, but another would be looking into the logic around cache clearing to solve the underlying issues:
Feels like an issue with the object cache, but that's for y'all to determine.
Steps to reproduce
If you do this a few times you can usually repro.
This might also be solved by #2280, but worth having a dedicated issue in case it isn't (specifically in the excerpt / images / SEO items).
Environment
Logs / error output