Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Website] Invalidate all the cache layers, correctly ship the new WordPress releases #1774

Open
adamziel opened this issue Sep 17, 2024 · 1 comment
Labels
[Aspect] Offline Mode [Aspect] Website [Type] Bug An existing feature does not function as intended

Comments

@adamziel
Copy link
Collaborator

adamziel commented Sep 17, 2024

After the recent WordPress update from 6.6.1 to 6.6.2, Playground kept installing 6.6.1 in my web browser until I did an explicit cache refresh. Let's make sure these updates work without any user intervention (after the redesign work is finished).

Let's also map out all the cache layers Playground has and discuss an automated workflow to make sure they're all invalidated as needed. Let's also see if we can consolidate some of the layers. Here's a few I can think of:

  • HTTP cache in the browser
  • CacheStorage in a few scripts
  • ServiceWorker cache
  • OPFS files (website files only)
  • localStorage (I can't remember what, but it caches something)
  • IDB (directory handles only)
  • Edge cache on playground.wordpress.net
  • ...anything else?

cc @brandonpayton @bgrgicak

@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Aspect] Website [Aspect] Offline Mode labels Sep 17, 2024
@adamziel adamziel changed the title [Website] Update cached WordPress releases [Website] Invalidate all the cache layers, correctly ship the new WordPress releases Sep 17, 2024
@bgrgicak
Copy link
Collaborator

I think this is the full list.

Let's also map out all the cache layers Playground has and discuss an automated workflow to make sure they're all invalidated as needed.

Let's do this when we meet next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Offline Mode [Aspect] Website [Type] Bug An existing feature does not function as intended
Projects
Status: Up next
Development

No branches or pull requests

2 participants