Hacker News new | ask | show | jobs
by sync 5492 days ago
It's not specific to GA cookies.

You can set cookies on uncached pages in ruby and read them without issue in JS on Varnish cached pages. The page will still be cached even if the user has a session cookie.

Basically: don't set or get cookies in ruby on cached pages and you'll be fine.