I’m having a bit of a strange issue but there are a lot of factors at play.
when I am logged in and I navigate directly to my forum’s home page, it appears as if I’m not logged in, in the UI e.g. the navbar has sign-up/sign-in links instead of the user avatar.
Navigating directly to a specific post, will result in the correct signed-in state and subsequent pushstate transitions work, including going to the home page. However, a reload on the homepage will result in it appearing logged out (as above).
I am using discourse fully behind Fastly, except for the polling functionality which is communicating directly with my GCP Compute Instance.
My guess is that this has something to do with the caching layer, but I have been pretty careful to read through the discussions on this forum. I do not have Fastly’s automatic GZIP compression turned on.