pantheon-systems/pantheon-advanced-page-cache

Handling 404 [Enhancement]

rubas opened this issue · 2 comments

rubas commented

I suggest emitting for a 404 response (is_404()) a 404 surrogate key and clearing it the same way as front/home.

This helps you to stay sane when people publish => unpublish => access “old” post url =>republish again.

👍 Good idea. Want to submit a PR for it?

Handled in #107