Skip to content

Commit e92dce2

Browse files
committed
cache burst
1 parent e941650 commit e92dce2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/_config.yml

+21
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ url: https://nitin27may.github.io/clean-architecture-docker-dotnet-angular
77
# Version information
88
version: "2.1.0"
99
last_updated: "2023-06-15"
10+
build_timestamp: <%= Time.now.to_i %>
11+
12+
# Cache busting settings
13+
cache_bust: true
14+
asset_version_query: <%= Time.now.to_i %>
1015

1116
# Enable search
1217
search_enabled: true
@@ -78,3 +83,19 @@ enable_copy_code_button: true
7883
# Google Analytics tracking
7984
ga_tracking: G-BJBJ6TYVWF
8085
ga_tracking_anonymize_ip: true
86+
87+
# Force browser to reload CSS and JS
88+
assets:
89+
source_maps: true
90+
destination: "/assets"
91+
compression: true
92+
gzip: false
93+
defaults:
94+
integrity:
95+
{css,js}: true
96+
caching:
97+
enabled: true
98+
path: ".jekyll-cache/assets"
99+
type: file
100+
# Apply cache busting to assets
101+
cache_bust_strategy: hard

0 commit comments

Comments
 (0)