Interesting observation: Requests with an implicit grant access token have a 1 hour cache
I noticed some weird behavior in my web app, where posts wouldn't refresh. Turns out you get different cache-control headers depending on whether you have a user access token or an implicit grant (anonymous user) access token.
Different cache-control headers:
normal user: cache-control: private, s-maxage=0, max-age=0, must-revalidate, no-store
implicit grant: cache-control: private, max-age=3600
I don't know if this has always been the case or not, but I noticed it today. The caching is of course only client side, but still might be good to know.
Posted May 21, 2022, 7:32 AM UTC
80