Re: SSL and NON SSL fixing and PHP 7.2
Reply #1 –
If your Hoster have enabled the PHP Opcode precompiling, then you can use that.
Call your hosting how to can do this .. it's mostly different on any hosting ..
Also your Hoster must support compressing .. and for this you need a additional .htaccess they handle that.
The code in the .htacces checks if the destination can handle zip compressed transfer.
Normaly this part of .htaccess works on Apache ...
# compression
<IfModule mod_deflate.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 append Content-Encoding gzip
# Force proxies to cache gzipped &
# non-gzipped css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>
Fel