Skip to content

Cache cleanup#437

Merged
eyeseast merged 5 commits into
masterfrom
caching-cleanup-396-397-398
Jul 23, 2026
Merged

Cache cleanup#437
eyeseast merged 5 commits into
masterfrom
caching-cleanup-396-397-398

Conversation

@eyeseast

Copy link
Copy Markdown
Contributor

All the low-hanging cache fixes:

  • Remove the Vary: Cookie header from anonymous responses
  • Set a real Last-Modified header
  • Send 304s instead of 200 if we can

Closes #397
Closes #398

I fixed #396 via Cloudflare. We had a page rule adding no-store.

Comment thread documentcloud/documents/views.py Outdated
@eyeseast

Copy link
Copy Markdown
Contributor Author

@mitchelljkotler I think this is in a good spot now.

@eyeseast
eyeseast requested a review from mitchelljkotler July 23, 2026 14:46
@eyeseast
eyeseast merged commit 885b897 into master Jul 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants