Skip to content

Commit

Permalink
Disable static cache
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 1, 2023
1 parent 29aaf59 commit af74202
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
RewriteEngine on

# Serve pages from static page cache
RewriteCond %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI}/index.html -f [NC]
RewriteRule ^(.*) %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI}/index.html [END]
RewriteCond %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI} -f [NC]
RewriteRule ^(.*) %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI} [END]
# RewriteCond %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI}/index.html -f [NC]
# RewriteRule ^(.*) %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI}/index.html [END]
# RewriteCond %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI} -f [NC]
# RewriteRule ^(.*) %{DOCUMENT_ROOT}/site/cache/%{SERVER_NAME}/pages/%{REQUEST_URI} [END]

# Serve files from public subfolder
RewriteCond %{HTTPS_HOST} ^bradshaws.guide$ [NC,OR]
Expand Down
1 change: 0 additions & 1 deletion site/config/config.bradshaws.guide.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"cache" => [
"pages" => [
"active" => true,
"type" => "static",
],
],
"debug" => false,
Expand Down

0 comments on commit af74202

Please sign in to comment.