Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


This is what we did at TaskRabbit, and here's our rails midleware to do it: https://github.com/taskrabbit/storehouse


We started off with our own toolkit for purging domains after deploys: https://github.com/robmiller/Varnish-Toolkit

But yeah, it just got a bit painful after a while.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: