Skip to content

Conversation

@vidhiii1711
Copy link
Contributor

@vidhiii1711 vidhiii1711 commented Jan 15, 2026

This PR fixes an issue where 404 responses were being cached, which could cause valid pages to continue returning 404s even after the underlying problem was resolved.

Updated the caching behavior to avoid caching 404 (Not Found) responses
Added a regression test to ensure 404 responses are never cached again
Added a regression test covering the 404 caching scenario

I was unable to run the full test suite locally due to PostgreSQL/Docker environment issues (connection timeout while creating the test database), but the changes are limited in scope and covered by tests

fixes #2341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable caching 404 responses

1 participant