Skip to content

Commit

Permalink
Use max-age=0 for error pages, too
Browse files Browse the repository at this point in the history
  • Loading branch information
dfabulich committed Sep 6, 2024
1 parent 47f73a4 commit ffaa411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const default_options = {
max_size: 1000000000, // 1 GB
},
'cache-control-age': 604800, // 1 week
'cache-control-age-error': 86400, // 1 day
'cache-control-age-error': 0,
//domain: 'unbox.ifarchive.org', // App domain
index: {
index_url: 'https://ifarchive.org/indexes/Master-Index.xml',
Expand Down
2 changes: 1 addition & 1 deletion doc/options.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Here are all the options you can set in data/options.json
"max_size": 1000000000
},
"cache-control-age": 604800,
"cache-control-age-error": 86400,
"cache-control-age-error": 0,
"certbot": {
"email": "user@domain.com",
"renew_time": 720,
Expand Down

0 comments on commit ffaa411

Please sign in to comment.