4 ms·
We eventually abandoned Varnish because the purging was too far from our application logic. nginx serves static content just as fast as Varnish does, and so get
by robmil 13y ago
We eventually abandoned Varnish because the purging was too far from our application logic. nginx serves static content just as fast as Varnish does, and so getting our application to write static HTML files that were redirected to via nginx was just as quick as Varnish but easier to purge when needed.
- evantahler 13y agoThis is what we did at TaskRabbit, and here's our rails midleware to do it: https://github.com/taskrabbit/storehouse https://github.com/taskrabbit/storehouse
- robmil 13y agoWe started off with our own toolkit for purging domains after deploys: https://github.com/robmiller/Varnish-Toolkit https://github.com/robmiller/Varnish-Toolkit But yeah, it just got a bit painful after a while.