We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caff9ba commit 67b405cCopy full SHA for 67b405c
loading-attribute-polyfill.sw.js
@@ -6,7 +6,7 @@ self.addEventListener('fetch', (event) => {
6
requestURLParameters.get('loading') &&
7
requestURLParameters.get('loading') === 'lazy'
8
) {
9
- if (event.request.destination === 'iframe') {
+ if (event.request.destination === 'document') {
10
if (swURLSearchparams.get('loading-iframes') !== 'true') {
11
event.respondWith(
12
new Response('', {
0 commit comments