-
Notifications
You must be signed in to change notification settings - Fork 293
E2E test cache busting on playground.wordpress.net #855
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
Labels
[Aspect] Browser
[Type] Bug
An existing feature does not function as intended
[Type] Reliability
Playground uptime, reliability, not crashing
Comments
This was referenced Dec 10, 2023
Open
adamziel
added a commit
that referenced
this issue
Jan 31, 2024
Adds a .htaccess file to playground.wordpress.net that does the following: 1. Prevents caching of the main index.html file. Otherwise the browser may try to load outdated JavaScript, CSS, and WASM assets and and up in a broken state. 2. Adds the Access-Control-Allow-Origin header for the blueprint-schema.json file and the hosted client.js library to enable `import()`-ing both. ## Testing instructions None. I tested this in an Apache setup, then manually updated the production .htaccess file, and it all worked as expected. Related to #855 Closes #873
These related PRs should solve most of the problem described in this issue:
The last problematic part I'm aware of is reliable reloading of the service worker, which is tracked here: We still need the E2E tests to confirm these fixes work reliably. |
adamziel
added a commit
that referenced
this issue
Jan 31, 2024
…le importing the client.js library (#989) Adds a .htaccess file to playground.wordpress.net that does the following: 1. Prevents caching of the main index.html file. Otherwise the browser may try to load outdated JavaScript, CSS, and WASM assets and and up in a broken state. 2. Adds the Access-Control-Allow-Origin header for the blueprint-schema.json file and the hosted client.js library to enable `import()`-ing both. ## Testing instructions None. I tested this in an Apache setup, then manually updated the production .htaccess file, and it all worked as expected. Related to #855 Closes #873
This was referenced Jan 31, 2024
Closed
Addressed in #1821 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Aspect] Browser
[Type] Bug
An existing feature does not function as intended
[Type] Reliability
Playground uptime, reliability, not crashing
Occasionally, people report errors caused by loading outdated versions of Playground assets on playground.wordpress.net. For example, this report:
Let's solve that.
Done is
The text was updated successfully, but these errors were encountered: