Always add `?ts=` query for scripts during development (#53411)
Safari caches scripts during the same browsing session no matter what cache headers are set. This makes it impossible to update our runtime bundles (e.g. Webpack's runtime) during development as the legacy bundle might be cached and still served. If an updated client bundle uses a feature (e.g. `__webpack_require__.n`) that causes a change of the runtime, it triggers an error. The most straightforward solution would be adding a query to prevent caching. Fixes #53281.
Showing
Please
register
or
sign in
to comment