FlashHandler always sets a cookie, making caching more difficult

1 view
Skip to first unread message

Mike Hogan

unread,
Jan 20, 2015, 5:09:11 AM1/20/15
to utter...@googlegroups.com
Hi,

FlashHandler always sets the “f” cookie. nginx and varnish don’t like this when they caching. There are ways around it by configuring these caches, but its a more effort than it needs to be.

So am thinking of making FlashHandler a bit more precise. Either

1) Set the “f” cookie only if its different to the “f” cookie in the incoming request
2) Only set the cookie if the response is HTML

Am preferring 1, but wanted to canvas other opinions.

Ta,
Mike

Daniel Worthington-Bodart

unread,
Jan 20, 2015, 5:36:12 AM1/20/15
to utterlyidle

+1 to number 1

--
You received this message because you are subscribed to the Google Groups "utterlyidle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to utterlyidle...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages