Gzip is commonly supported by web servers and modern browsers, meaning that servers can automatically compress files with gzip before sending them, and browsers can uncompress files upon receiving them. The second way to enable gzip compression is by editing your. Como habilitar compresion gzip desde wordpress youtube. How to optimize your site with gzip compression betterexplained. Home website assistance slow website how to enable gzip compression for your pages. It also minifies unnecessary large css rules into much smaller code. Its main advantages over compress are much better compression and.
I was trying to implement the solution for gzipping css and js files on godaddy, and it worked gzipped file was served instead of normal, except for one problem. Im able to gzip js and css files successfully and cache them on the server and the results were great reducing overall files sizes down to as low as 20%. Gzip is a file format used for file compression and decompression. To compress css content, add the following code to any php file i.
Get a hold of photoshop and save for web and devices for goodness sake. Some browsers dont suport gzip for css, then set gzip only texthtml. Firefox chrome could not decompress the files outputting halfdecompressed contents, so js stopped. Brackets brackets is a free, modern opensource text editor made especially for web development.