-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path_config.prod.yml
51 lines (46 loc) · 1.51 KB
/
_config.prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
url: "https://fragaria.cz"
plugins:
- jekyll-sitemap
- jekyll-feed
- jekyll-paginate
- jekyll-archives
- octopress-autoprefixer
# On production tags are enabled too
jekyll-archives:
enabled:
- year
- month
- tags
layout: scoped-archive
permalinks:
year: /blog/archive/year/:year/
month: /blog/archive/month/:year-:month/
tag: /blog/archive/tag/:name/
autoprefixer:
browsers:
- last 2 versions
only_production: true
ga:
enabled: true
id: UA-9784905-1
# Service worker
# Features:
# - allows for offline access
# - enables preloading of URLs for near-instant loading of pages
#
# Our service worker is network-or-cache. It means it always tries to load
# resources from the network when possible. Only in case response is slow or not
# coming at all, cache is tried.
service_worker:
enabled: true
# Cache version needs to be increased when service worker implementations
# needs to be changed. It's basically one of following scenarios:
#
# - new (more clever) service worker implementation
# - list of precached URLs changes - this is ESCPECIALLY TRUE FOR /offline/
# fallback pages as it's only loaded when new service worker is released and never again.
#
# Anyway, service worker will only be updated when all browser tabs are
# closed due to various reasons.
# See https://redfin.engineering/draft-service-workers-break-the-refresh-button-by-default-56f9417694 if unsure.
cache_version: 5