I have another website with the same Joomla version, and the same hosting. That website I enable or disable Debug mode, and Error Report to Maximum. It is no issue for that website. here is the working website https://seekkhmer.comFrom your URL I can see that you do have the double gzip problem. What I do to test:
Look at the source of your admin login page and select the template.css file. That shows the human readable css content on multiple lines because you are in debug mode. Then add .min before .css - that shows garbage. Normally I see the human readable css content all on one line. That means that your server is sending the min.gz versions of css and js files but it is first zipping them a second time.
You need to fix your server configuration to avoid zipping already zipped resource files - the css and js files that end in .gz in your installation.
And I am trying to contact here also about your mention.
https://forum.directadmin.com/threads/d ... ost-372895
Is there any error that we need to fix here or not? for .htaccess-Joomla 5.0.3
<IfModule mod_headers.c>
# Serve gzip compressed CSS files if they exist
# and the client accepts gzip.
RewriteCond "%{HTTP:Accept-encoding}" "gzip"
RewriteCond "%{REQUEST_FILENAME}\.gz" -s
RewriteRule "^(.*)\.css" "$1\.css\.gz" [QSA]
# Serve gzip compressed JS files if they exist
# and the client accepts gzip.
RewriteCond "%{HTTP:Accept-encoding}" "gzip"
RewriteCond "%{REQUEST_FILENAME}\.gz" -s
RewriteRule "^(.*)\.js" "$1\.js\.gz" [QSA]
# Serve correct content types, and prevent mod_deflate double gzip.
RewriteRule "\.css\.gz$" "-" [T=text/css,E=no-gzip:1]
RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1]
<FilesMatch "(\.js\.gz|\.css\.gz)$">
# Serve correct encoding type.
Header set Content-Encoding gzip
# Force proxies to cache gzipped &
# non-gzipped css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>
thank you.
Statistics: Posted by saovry — Mon Mar 18, 2024 4:15 pm