Skip to content

Commit

Permalink
Updated config to try and fix caching?
Browse files Browse the repository at this point in the history
  • Loading branch information
tay committed Oct 10, 2024
1 parent 9f3ce5b commit eb3e40f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[outputs]
home = ["HTML"]

[params]
cacheControl = "no-store, no-cache, must-revalidate, max-age=0"
6 changes: 6 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
baseURL = 'https://tee.is-a.dev'
languageCode = 'en-us'
title = 'tees website'

[outputs]
home = ["HTML"]

[params]
cacheControl = "no-store, no-cache, must-revalidate, max-age=0"
3 changes: 3 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<!DOCTYPE html>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down

0 comments on commit eb3e40f

Please sign in to comment.