여러분 안녕하세요,
어떤 이유로 devtools에서 다음 오류가 발생하고 있습니다:
Uncaught (in promise) DOMException
이 오류는 다음 스크립트로 이어집니다:
'use strict';
importScripts("<%= "#{Discourse.asset_host}#{Discourse.base_path}/javascripts/workbox/workbox-sw.js" %>");
workbox.setConfig({
modulePathPrefix: "<%= "#{Discourse.asset_host}#{Discourse.base_path}/javascripts/workbox" %>",
debug: false
});
const cacheVersion = "1";
// Cache all GET requests, so Discourse can be used while offline
workbox.routing.registerRoute(
new RegExp('.*?'), // Matches all, GET is implicit
new workbox.strategies.NetworkFirst({ // This will only use the cache when a network request fails
cacheName: "discourse-" + cacheVersion,
plugins: [
new workbox.expiration.Plugin({
maxAgeSeconds: 7* 24 * 60 * 60, // 7 days
maxEntries: 500,
This file has been truncated. show original
Discourse 버전: 2.4.0.beta4
문제가 무엇일까요?
Falco
(Falco)
9월 30, 2019, 1:55오전
2
이것은 오프라인 사용을 위해 자산이 캐시에 저장되지 못했다는 의미이며, 대부분의 경우 광고 차단으로 인해 Google Analytics 스크립트가 실패하는 것이 원인입니다. 캐시가 가득 찬 경우에도 발생할 수 있지만, 어떤 경우든 Discourse 사용이나 그 기능에는 영향을 미치지 않습니다.