Skip to content

Commit 11690c6

Browse files
committed
Rename cache expiration rules file to make it more generic
No more Expires header only
1 parent 956a606 commit 11690c6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

htaccess.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ disable "src/web_performance/pre-compressed_content_brotli.conf"
8989
disable "src/web_performance/pre-compressed_content_gzip.conf"
9090
disable "src/web_performance/content_transformation.conf"
9191
enable "src/web_performance/etags.conf"
92-
enable "src/web_performance/expires_headers.conf"
92+
enable "src/web_performance/cache_expiration.conf"
9393
disable "src/web_performance/file_concatenation.conf"
9494
disable "src/web_performance/filename-based_cache_busting.conf"

src/web_performance/expires_headers.conf src/web_performance/cache_expiration.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ----------------------------------------------------------------------
2-
# | Expires headers |
2+
# | Cache expiration |
33
# ----------------------------------------------------------------------
44

55
# Serve resources with far-future expiration date.

test/htaccess_fixture.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ enable "src/web_performance/pre-compressed_content_brotli.conf"
8787
enable "src/web_performance/pre-compressed_content_gzip.conf"
8888
enable "src/web_performance/content_transformation.conf"
8989
enable "src/web_performance/etags.conf"
90-
enable "src/web_performance/expires_headers.conf"
90+
enable "src/web_performance/cache_expiration.conf"
9191
enable "src/web_performance/file_concatenation.conf"
9292
enable "src/web_performance/filename-based_cache_busting.conf"

0 commit comments

Comments
 (0)