0
respondWith
을 지정하지 않고 서비스 작업자의 fetch
이벤트 처리기에서 반환 할 수 있습니까? 이 경우 어떻게됩니까? 가져 오기 이벤트가 여전히 기본 방식으로 올바르게 처리됩니까?이벤트 처리기를 event.respondWith()없이 가져옵니다.
self.addEventListener('fetch', event => {
if (/* don't fancy handling this one */) {
// what happens in this case?
return;
}
event.respondWith(
// do some stuff and return a promise for a response
);
});
감사합니다. 아마 그 사건일지도 모르겠지만 결정적인 일은 없었습니다. – drmrbrewer