You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After digging, I realized that the JS sent by the server was different on the working/broken sites, and that the broken sites had the previous version's JS cached (even at the new ?ver=17.8.2 URL). Our mid-deploy-cachebuster.php script should be handling this, but unfortunately, the new script modules API does not use the script_loader_src filter.
I tried fixing this quickly with this change — setting the version on a different filter, which did work for the <script type="module" src="… tags. But after deploying that, the issue persisted, because the interactivity/index.min.js file was not using this new cachebuster.
We need to be able to update the version in the import map ^ somehow. This is totally unfilterable from my dive into the code. To fix the original nav issue, I ended up rolling back GB to 17.8.1 to force that version to change.
Maybe this should be a core ticket?
The text was updated successfully, but these errors were encountered:
I unpinned and updated Gutenberg today, and ran into this error again: https://meta.trac.wordpress.org/ticket/7471 — but only on some sites.
After digging, I realized that the JS sent by the server was different on the working/broken sites, and that the broken sites had the previous version's JS cached (even at the new ?ver=17.8.2 URL). Our
mid-deploy-cachebuster.php
script should be handling this, but unfortunately, the new script modules API does not use thescript_loader_src
filter.I tried fixing this quickly with this change — setting the version on a different filter, which did work for the
<script type="module" src="…
tags. But after deploying that, the issue persisted, because theinteractivity/index.min.js
file was not using this new cachebuster.We need to be able to update the version in the import map ^ somehow. This is totally unfilterable from my dive into the code. To fix the original nav issue, I ended up rolling back GB to 17.8.1 to force that version to change.
Maybe this should be a core ticket?
The text was updated successfully, but these errors were encountered: