Merge pull request #2222 from mantoufan/add-webp-to-assets.conf-for-cache-assets

Add webp format to assets.conf for Cache Assets
This commit is contained in:
jc21
2022-11-08 13:12:13 +10:00
committed by GitHub

View File

@ -1,4 +1,4 @@
location ~* ^.*\.(css|js|jpe?g|gif|png|woff|eot|ttf|svg|ico|css\.map|js\.map)$ {
location ~* ^.*\.(css|js|jpe?g|gif|png|webp|woff|eot|ttf|svg|ico|css\.map|js\.map)$ {
if_modified_since off;
# use the public cache