In other case we should use : Compression simply reduces the size of document. Is most effective for HTML files, JavaScripts, CSS stylesheets and XML files. Generally compression reduces 60% to 80% size of data. This way you may reduce server response time and bandwidth - volume of data which must be sent by server to client browser. Testing: https://checkgzipcompression.com
-
Notifications
You must be signed in to change notification settings - Fork 0
We can use for that purpose two Apache modules - mod_expires and mod_headers (or equivalent for other web server). Both methods can be set at the same time in .htaccess file: Note: There is no need to set the max-age directive with the Cache-Control header since it is already set by the mod_expires module.
License
Veyselxan/Gzip-Site
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
We can use for that purpose two Apache modules - mod_expires and mod_headers (or equivalent for other web server). Both methods can be set at the same time in .htaccess file: Note: There is no need to set the max-age directive with the Cache-Control header since it is already set by the mod_expires module.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published