Compare commits

..

2 Commits

Author SHA1 Message Date
ef957ef35b modified file master.php 2023-06-28 12:46:00 +00:00
3f7f82a4d5 modified file htaccess 2023-06-28 12:46:00 +00:00
2 changed files with 19 additions and 10 deletions

View File

@ -132,15 +132,23 @@
<FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$"> <FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
FileETag MTime Size FileETag MTime Size
<IfModule mod_headers.c> <IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public"
Header unset Set-Cookie Header unset Set-Cookie
</IfModule> </IfModule>
</FilesMatch> </FilesMatch>
<FilesMatch "\.(html|htm|rtf|rtx|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|TXT|XSD|XSL|XML)$"> <FilesMatch "\.(html|htm|rtf|rtx|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|TXT|XSD|XSL|XML)$">
FileETag MTime Size FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma "public"
Header set Cache-Control "max-age=3600, public"
</IfModule>
</FilesMatch> </FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|avif|avifs|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|AVIF|AVIFS|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|OGV|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$"> <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|avif|avifs|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|AVIF|AVIFS|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|OGV|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
FileETag MTime Size FileETag MTime Size
<IfModule mod_headers.c> <IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public"
Header unset Set-Cookie Header unset Set-Cookie
</IfModule> </IfModule>
</FilesMatch> </FilesMatch>

View File

@ -9,8 +9,8 @@
"dbcache.configuration_overloaded": false, "dbcache.configuration_overloaded": false,
"dbcache.debug": false, "dbcache.debug": false,
"dbcache.debug_purge": false, "dbcache.debug_purge": false,
"dbcache.enabled": false, "dbcache.enabled": true,
"dbcache.engine": "file", "dbcache.engine": "redis",
"dbcache.file.gc": 3600, "dbcache.file.gc": 3600,
"dbcache.file.locking": false, "dbcache.file.locking": false,
"dbcache.lifetime": 180, "dbcache.lifetime": 180,
@ -63,7 +63,7 @@
"\\bfound_rows\\(\\)" "\\bfound_rows\\(\\)"
], ],
"docroot_fix.enable": false, "docroot_fix.enable": false,
"lazyload.enabled": false, "lazyload.enabled": true,
"lazyload.threshold": "", "lazyload.threshold": "",
"lazyload.process_img": true, "lazyload.process_img": true,
"lazyload.process_background": true, "lazyload.process_background": true,
@ -96,7 +96,7 @@
], ],
"lazyload.embed_method": "async_head", "lazyload.embed_method": "async_head",
"objectcache.configuration_overloaded": false, "objectcache.configuration_overloaded": false,
"objectcache.enabled": false, "objectcache.enabled": true,
"objectcache.debug": false, "objectcache.debug": false,
"objectcache.debug_purge": false, "objectcache.debug_purge": false,
"objectcache.enabled_for_wp_admin": false, "objectcache.enabled_for_wp_admin": false,
@ -142,11 +142,11 @@
"objectcache.lifetime": 180, "objectcache.lifetime": 180,
"objectcache.purge.all": false, "objectcache.purge.all": false,
"pgcache.configuration_overloaded": false, "pgcache.configuration_overloaded": false,
"pgcache.enabled": false, "pgcache.enabled": true,
"pgcache.comment_cookie_ttl": 1800, "pgcache.comment_cookie_ttl": 1800,
"pgcache.debug": false, "pgcache.debug": false,
"pgcache.debug_purge": false, "pgcache.debug_purge": false,
"pgcache.engine": "file_generic", "pgcache.engine": "apc",
"pgcache.file.gc": 3600, "pgcache.file.gc": 3600,
"pgcache.file.nfs": false, "pgcache.file.nfs": false,
"pgcache.file.locking": false, "pgcache.file.locking": false,
@ -564,7 +564,7 @@
"browsercache.cssjs.expires": true, "browsercache.cssjs.expires": true,
"browsercache.cssjs.lifetime": 31536000, "browsercache.cssjs.lifetime": 31536000,
"browsercache.cssjs.nocookies": true, "browsercache.cssjs.nocookies": true,
"browsercache.cssjs.cache.control": false, "browsercache.cssjs.cache.control": true,
"browsercache.cssjs.cache.policy": "cache_public_maxage", "browsercache.cssjs.cache.policy": "cache_public_maxage",
"browsercache.cssjs.etag": true, "browsercache.cssjs.etag": true,
"browsercache.cssjs.w3tc": false, "browsercache.cssjs.w3tc": false,
@ -575,7 +575,7 @@
"browsercache.html.last_modified": true, "browsercache.html.last_modified": true,
"browsercache.html.expires": false, "browsercache.html.expires": false,
"browsercache.html.lifetime": 3600, "browsercache.html.lifetime": 3600,
"browsercache.html.cache.control": false, "browsercache.html.cache.control": true,
"browsercache.html.cache.policy": "cache_public_maxage", "browsercache.html.cache.policy": "cache_public_maxage",
"browsercache.html.etag": true, "browsercache.html.etag": true,
"browsercache.html.w3tc": false, "browsercache.html.w3tc": false,
@ -586,7 +586,7 @@
"browsercache.other.expires": true, "browsercache.other.expires": true,
"browsercache.other.lifetime": 31536000, "browsercache.other.lifetime": 31536000,
"browsercache.other.nocookies": true, "browsercache.other.nocookies": true,
"browsercache.other.cache.control": false, "browsercache.other.cache.control": true,
"browsercache.other.cache.policy": "cache_public_maxage", "browsercache.other.cache.policy": "cache_public_maxage",
"browsercache.other.etag": true, "browsercache.other.etag": true,
"browsercache.other.w3tc": false, "browsercache.other.w3tc": false,
@ -945,5 +945,6 @@
"auto": "enabled", "auto": "enabled",
"visibility": "never" "visibility": "never"
}, },
"imageservice.configuration_overloaded": true "imageservice.configuration_overloaded": true,
"lazyload_process_background": true
} }