How to Compress Files with Gzip via .Htaccess in Website | PHP | HTML | WordPress

preview_player
Показать описание
In this website tutorial you will see how to compress file using gzip by adding code in htaccess file. If you want to compress your website's files with Gzip to reduce their size and speed up page load times then add code in .htaccess.

* Find Code in Top Pinned Comment Section.

This code will compress all text-based files on your website (HTML, CSS, JavaScript, etc.) with Gzip.

#gzip #file #compress #htaccess #website #wordpress #php #html #webtaskwithhassan #hassangilani
Рекомендации по теме
Комментарии
Автор

Use this code:

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
</IfModule>

WebTaskWithHassan
welcome to shbcf.ru