To prevent opaque cache files, now all the CDN files will be requested in 'cors' mode if the cdn_cors_enabled global setting is enabled. Before enabling the setting, should enable the cors in the CDN server by adding the response header `access-control-allow-origin: *` or `access-control-allow-origin: https://discourse.example.com.` And other external file requests other than CDN will not be cached if the response type is opaque. |
||
|---|---|---|
| .. | ||
| workbox-cacheable-response.dev.js | ||
| workbox-cacheable-response.dev.js.map | ||
| workbox-cacheable-response.prod.js | ||
| workbox-cacheable-response.prod.js.map | ||
| workbox-core.dev.js | ||
| workbox-core.dev.js.map | ||
| workbox-core.prod.js | ||
| workbox-core.prod.js.map | ||
| workbox-expiration.dev.js | ||
| workbox-expiration.dev.js.map | ||
| workbox-expiration.prod.js | ||
| workbox-expiration.prod.js.map | ||
| workbox-routing.dev.js | ||
| workbox-routing.dev.js.map | ||
| workbox-routing.prod.js | ||
| workbox-routing.prod.js.map | ||
| workbox-strategies.dev.js | ||
| workbox-strategies.dev.js.map | ||
| workbox-strategies.prod.js | ||
| workbox-strategies.prod.js.map | ||
| workbox-sw.js | ||
| workbox-sw.js.map | ||