Skip to content

Commit f5d5dd0

Browse files
committed
Updating blog config: Enabling PWA Caching
1 parent b41741b commit f5d5dd0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

_config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ assets:
9595

9696
pwa:
9797
enabled: true # the option for PWA feature
98+
cache:
99+
enabled: true # The option for PWA offline cache
100+
# Paths defined here will be excluded from the PWA cache.
101+
# Usually its value is the `baseurl` of another website that
102+
# shares the same domain name as the current website.
103+
deny_paths:
104+
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
98105

99106
paginate: 10
100107

0 commit comments

Comments
 (0)