Skip to content

Commit 7a173a5

Browse files
creopardLeoColomb
andauthored
Add explanatory text in case ExpiresDefault is not applied by default (#371)
Co-authored-by: Léo Colombaro <[email protected]>
1 parent 1dc1bbd commit 7a173a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

h5bp/web_performance/cache_expiration.conf

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
# (!) If you don't control versioning with filename-based cache busting, you
88
# should consider lowering the cache times to something like one week.
99
#
10+
# (!) When using `.htaccess` file, the webserver config may have already
11+
# a preset some file types.
12+
# In that case, the general rule with `ExpiresDefault` might not be applied.
13+
# In order to override any presets, uncomment the appropriate "Generic"
14+
# lines below.
15+
# Online checker or validators can help investigating the served cache policy.
16+
#
1017
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
1118
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires
1219
# https://httpd.apache.org/docs/current/mod/mod_expires.html

0 commit comments

Comments
 (0)