Hot answers tagged

66 votes
Accepted

Is there an easy way to see amount of compression in Chrome?

Updated answer for 2017: Yes. The size column in the Network tab in Chrome Developer Tools has both the compressed and uncompressed size, for gzip, brotli and whatever comes in future. Eg: Here the ...
mikemaccana's user avatar
13 votes

Is there an easy way to see amount of compression in Chrome?

Update for 2017 When using large icons, the chrome dev tools show a before and after compression size in the network tabs. I confirmed by switching gzip off and on on my webserver.
CodeMonkey's user avatar
11 votes
Accepted

10 megabyte gzip limit in AWS Cloudfront?

This is a design limitation: The file size must be between 1,000 and 10,000,000 bytes. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html ...
Michael - sqlbot's user avatar
5 votes
Accepted

How do you serve Jekyll pages with gzip compression on GitLab Pages?

GitLab Pages will serve pre-compressed .gz files that exist alongside uncompressed equivalents. A general solution that should work with most static publishing systems is to put this as the last step ...
Daphne Preston-Kendal's user avatar
4 votes

Is gzip compression available for GitHub pages?

besides Dan's answer, depending on your static-site generators, there can be some plugins that make the compressed .gz-ed version offline while generating the site. By that way, your server can serve ...
kmonsoor's user avatar
  • 141
4 votes

What is recommended minimum object size for gzip performance benefits?

Apache Tomcat has gzip filter and it starts to zip from 2kb, my quick test tells that it's the lowest boundary, and you can increase it at least to 3-4kb. Because for 2kb you will get a similar size ...
Yura's user avatar
  • 141
3 votes

Why does "Disable Cache" in Chrome developer tools change the "content-encoding: gzip" response header?

What does the "Disable Cache" have to do with gzip and compression? Nothing directly. Except that when "Disable Cache" is checked (ie. the local browser cache is disabled) the server is forced to ...
DocRoot's user avatar
  • 4,297
3 votes

How can I tar.gz a huge directory on a shared host? The process keeps getting killed

it seems to me, the archiving procedure lets the tarball grow and if the tarball becomes (together with all other data) bigger then the available place in your booked hosting, the server kills the ...
Evgeniy's user avatar
  • 10.1k
2 votes

Is there an easy way to see amount of compression in Chrome?

For anyone still arriving here from a general google search (like I did), in modern versions of Firefox it's possible to see the "raw" and gzipped size directly from its devtools by comparing the "...
LeartS's user avatar
  • 121
2 votes

How can I tar.gz a huge directory on a shared host? The process keeps getting killed

If the process is killed partway through, then you either ran out of memory or you ran out of disk space. I'm going to assume disk space. When compressing your entire disk data, assume you'll need the ...
Mike -- No longer here's user avatar
2 votes

Allow cloudflare to gzip or apache?

I use compression on both cloudflare and the origin server (IIS). This should speed up the transfer between the origin server and cloudflare. I haven't done any speed comparisons though.
Jules's user avatar
  • 176
2 votes

How can I tar.gz a huge directory on a shared host? The process keeps getting killed

An better solution might be SCP (Server to server Copy) scp -pr [email protected]:/home/location/to/document_root/* /home/location/to/place/files This page provides simple examples to ...
Martijn's user avatar
  • 6,806
2 votes
Accepted

Google Search Console and sitemap-index file gzip

Sitemap index files may have .xml.gz extension with gzip compression. That isn't a problem. Google Search Console has had a bug for years where it doesn't report all the URLs that it finds through ...
Stephen Ostermiller's user avatar
2 votes

Gzip not working on nginx CentOS despite configuration to enable it

ยท the gzip commands need to be directly in the http block, not in the server block user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; events { ...
abcjme's user avatar
  • 189
1 vote

Google Search Console and sitemap-index file gzip

For those that arrive here from Google. I've audited many large websites using the sitemap_index structure for indexation problems, and if pages in compressed sitemaps are not being indexed the first ...
Mike Ciffone's user avatar
  • 6,360
1 vote
Accepted

MediaWiki: Enable text compression

You can activate compression using .htaccess file if your server supports it. Just create a ".htaccess" file on your http root with this contents and run the test again: <ifModule mod_gzip.c> ...
Cristian Urrutia's user avatar
1 vote

10 megabyte gzip limit in AWS Cloudfront?

My website is a static blog Since your site is static, it is an excellent candidate for s3_website, which will automatically gzip files locally before uploading, and will also handle setting the ...
Tom Brossman's user avatar
  • 2,291
1 vote

How do I configure gzip to work on External Resources

You have no control on expires, compression or any other header property on external resources. Rather than trying to satisfy pointless speed score websites you should focus on how quickly your pages ...
Simon Hayter's user avatar
1 vote

How can I tar.gz a huge directory on a shared host? The process keeps getting killed

you can group some data and gzip it in smaller chunks. divide whole data in 20 or 30 sections and use server side import rather than zipping it. You can prepare a script that list files and folder on ...
Vikas Avnish's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible