Skip to content
Snippets Groups Projects
Commit 59e86f61 authored by Steven Wittens's avatar Steven Wittens
Browse files

#5900: Fix mod_expire forcing page caching on the client side.

parent 04637e5a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -36,6 +36,12 @@ DirectoryIndex index.php ...@@ -36,6 +36,12 @@ DirectoryIndex index.php
# in /sites/default/settings.php # in /sites/default/settings.php
</IfModule> </IfModule>
# Overload mod_expires variables.
<IfModule mod_expires.c>
# Reduce the time dynamically generated HTML pages are cache-able.
ExpiresByType text/html A1
</IfModule>
# Various rewrite rules # Various rewrite rules
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine on RewriteEngine on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment