Nov 17, 2012 at 2:59 AM
Edited Nov 17, 2012 at 3:01 AM
We had an interesting thing happen today.
One of our users was signed in as Admin, and then went to the home page. Akamai (our CDN), must have had expired cache for the home page, and at that moment CACHED the home page as a signed in Admin sees it - with all the 'Edit' buttons showing.
Akamai then propagated that version of the home page to its worldwide set of front end caching servers.
So, every anonymous user saw the 'Edit' buttons on the home page.
Ctrl-F5 doesn't help because: a. Most people wouldn't do that anyway. b. Akamai ignores that and DOESN'T go all the way back to origin to get a fresh version. c. Akamai, like all CDNs is distributed so even if it did work it wouldn't then
load that version into cache. d. It's possible that the version with the Edit buttons would just get re-cached.
One way I can think of "fixing" this is to overlay the 'Edit' buttons via Ajax (not initial page load).
Looking for ideas...