ptpb / pb

pb is a formerly-lightweight pastebin and url shortener
Other
549 stars 52 forks source link

no cache invalidation for PUT/DELETE #106

Closed buhman closed 9 years ago

buhman commented 9 years ago

This predates #104, but #104 made this worse:

There are multiple ways to reference the same paste--on PUT/DELETE we would pick one of those, put it in the Location header, then invalidate_cache() used that to send a new BAN request to varnish.

We should replace the current invalidation mechanism with something actually sane.