|
|
|
|
|
by mrkurt
5493 days ago
|
|
I expect that someone will build a Varnish add on for Heroku. It even looks possible to run Varnish on a dyno, believe it or not. I love Varnish, but it's completely inflexible in Heroku so it's always been a mixed blessing. Sticking Google Analytics on your page, for instance, creates cookies for users that mean they will no longer get cached content. It's something that I can work around with dedicated Varnish, but Heroku can't really fix for me. |
|
We've are running production apps with Varnish caching + Google Analytics without issue.
Set your cookies with JS or on uncached pages (such as POST logins) and you'll be fine.