Update .htaccess and sync cache with modified file sizes and timestamps

This commit is contained in:
2025-05-08 20:33:37 +02:00
parent f49f7946ec
commit 1f796c1704
2 changed files with 24 additions and 56 deletions

View File

@@ -5,6 +5,7 @@ RewriteRule .* - [E=Cache-Vary:cookiesplus]
# ~~endcookiesplus~~ Cookies Plus module - Do not remove this comment
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/pl/(.*)$ [NC]
RewriteRule ^pl/(.*)$ /$1 [R=301,L]
@@ -119,39 +120,6 @@ AddType font/woff2 .woff2
Require all denied
</IfModule>
</Files>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 year"
ExpiresByType application/x-font-woff "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
ExpiresByType font/opentype "access plus 1 year"
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType application/x-font-ttf "access plus 1 year"
ExpiresByType application/x-font-otf "access plus 1 year"
</IfModule>
<IfModule mod_headers.c>
Header unset Etag
</IfModule>
FileETag none
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype image/svg+xml
</IfModule>
</IfModule>
#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404

View File

@@ -1414,7 +1414,7 @@
},
"image_log.json": {
"type": "-",
"size": 0,
"size": 5110,
"lmtime": 1738935881598,
"modified": true
},
@@ -2535,9 +2535,9 @@
},
"import-product.php": {
"type": "-",
"size": 22080,
"size": 22553,
"lmtime": 1744921788328,
"modified": false
"modified": true
},
"index.php": {
"type": "-",
@@ -7454,7 +7454,7 @@
"newsletter_conf.html": {
"type": "-",
"size": 22143,
"lmtime": 1744925289143,
"lmtime": 1745354936455,
"modified": false
},
"newsletter_conf.txt": {
@@ -8252,8 +8252,8 @@
},
"form-fields.tpl": {
"type": "-",
"size": 8125,
"lmtime": 0,
"size": 8280,
"lmtime": 1745356365665,
"modified": false
},
"header.tpl": {
@@ -8264,9 +8264,9 @@
},
"head.tpl": {
"type": "-",
"size": 4464,
"size": 4348,
"lmtime": 1712869144611,
"modified": false
"modified": true
},
"index.php": {
"type": "-",
@@ -8402,14 +8402,14 @@
},
"dr_materac.css": {
"type": "-",
"size": 83498,
"lmtime": 1744921875881,
"size": 83942,
"lmtime": 1745356491693,
"modified": false
},
"dr_materac.css.map": {
"type": "-",
"size": 233813,
"lmtime": 1744921875881,
"size": 234934,
"lmtime": 1745356491693,
"modified": false
},
"dr_materac.css.sync-conflict-20231027-200011-EDGUH2C.map": {
@@ -8420,8 +8420,8 @@
},
"dr_materac.scss": {
"type": "-",
"size": 106662,
"lmtime": 1744921874680,
"size": 107177,
"lmtime": 1745356491108,
"modified": false
},
"dr_materac.sync-conflict-20231027-195749-EDGUH2C.css": {
@@ -8450,9 +8450,9 @@
},
"theme.css": {
"type": "-",
"size": 638136,
"lmtime": 0,
"modified": true
"size": 638137,
"lmtime": 1745355738504,
"modified": false
}
},
"js": {
@@ -13087,20 +13087,20 @@
},
"theme.css": {
"type": "-",
"size": 433588,
"lmtime": 0,
"size": 433653,
"lmtime": 1745355617983,
"modified": false
},
"theme.css.map": {
"type": "-",
"size": 1362031,
"lmtime": 0,
"size": 1362237,
"lmtime": 1745355617984,
"modified": false
},
"theme.scss": {
"type": "-",
"size": 640756,
"lmtime": 0,
"size": 640864,
"lmtime": 1745355614411,
"modified": false
}
},