Compression is the reduction in size of data in order to save space or transmission time. For data transmission, compression can be performed on just the data content or on the entire transmission unit (including header data) depending on a number of factors.

learn more… | top users | synonyms

1
vote
1answer
46 views

Does my origin's gzip compression level matter when it's behind CloudFlare?

Today I uploaded a sitemap.xml file to my site, then realised that my server wasn't set up to gzip .xml files. However, CloudFlare still gzipped it before sending to my browser. This got me ...
0
votes
0answers
36 views

How to offer high quality image downloads without making google upset

My website consists of thousands of photos online that people can see. The photographer creates the photos using the highest quality settings possible and then uploads them. Then my php scripts use ...
0
votes
1answer
45 views

Reducing waiting delay to webpage rendering time?

I ran a few tests on my website at webpagetest.org and while the Time to First Byte is under 200ms, it seems that in all tests I have run in different browsers at different locations, the page is ...
3
votes
1answer
114 views

weird results from tests when trying to serve a fast image download page… why?

This is my php code. <?php ob_start(); echo file_get_contents("originalhighqualityphoto.jpg"); $dat=ob_get_contents(); ob_end_clean(); $dat=gzencode($dat,2); ...
1
vote
1answer
35 views

Is Image Spriting for Articles Images a good solution?

I am starting an online portal and I calculated that I need about 102 Images (based on the amount of articles), the problem is I want to keep the whole page below 800KB (Including all assets). I want ...
7
votes
4answers
12k views

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

I am busy checking how my webserver is doing gzip. I'm confident now that gzip is on as chrome shows the content-encoding: gzip header. Is there a easy way to see how much a file was compressed in ...
2
votes
3answers
139 views

How do I enable compression to reduce the file transfer size on GoDaddy?

I have hosted one of my website on godaddy.com. How do I enable compression to reduce the file transfer size? I need to compress the .css and .js files. I tried the following but it doesn't work : ...
1
vote
1answer
143 views

How Google Web Starter Kit serves adaptive image for mobile?

My website weirdly (in a good way) serves smaller images when viewed on mobile. I wanted to know what cause this? As far as I know this is not the default behaviour, so I think it must be Google Web ...
3
votes
3answers
3k views

Enable gzip compression on Bluehost?

My website is loading large (~3mb) SVG file with jQuery. It takes quite a while therefore I decided to enable gzip compression. I have a hosting account with Bluehost which supports custom .htaccess ...
1
vote
1answer
1k views

How can I get my website to enable gzip compression?

I'm currently trying to increase the speed of my website and I noticed that, when I run it through ismyblogworking.com, I get a message that reads "your blog application doesn't support gzip ...
1
vote
1answer
250 views

How do I use HTML compression in Jimdo WYSIWYG editor?

I have used Jimdo website to build my website. Using Google PageSpeed Insights tell me that I can achieve better page load speed using HTML compression. I wanted to use deflate.js and inflate.js, but ...
11
votes
5answers
11k views

GZipped Images - Is It Worth?

Most image formats are already compressed. But in fact, if I take an image and compress it [gzipping it], and then I compare the compressed one to the uncompressed one, there is a difference in size, ...
26
votes
3answers
3k views

Should I use gzip for compressing my HTML?

I saw from an online tester that my HTML can be compressed about 90%! Is it good practice to use gzip or not? I see that lot sites don't use it. For me it would improve traffic, as some pages ...
10
votes
2answers
314 views

Effective methods of reducing bandwidth (and thus page load times)?

What are the most effective methods when it comes to reducing the amount of bandwidth a website needs to render a page? Aggressive caching? Minifying JS/CSS? Gzip? CMS? Sprites?
16
votes
1answer
6k views

What is recommended minimum object size for gzip performance benefits?

I'm working on improving page speed display times, and one of the methods is to gzip content from the webserver. Google recommends: Note that gzipping is only beneficial for larger resources. Due ...
2
votes
2answers
247 views

Offline lossless image shrinking

I'm looking for something like Smush.it or PunyPNG that works offline, preferably via command line interface that does gifs, jpegs and pngs. Any suggestions?
1
vote
0answers
56 views

Is Smush it a reliabe service? [closed]

Smush it is an online compression tool for images provided by Yahoo. However, despite being maintained by a big company, it is often very slow and even offline. In their FAQ there is a question about ...
4
votes
1answer
325 views

.htaccess and gzip compression

i have question about GZIP compression, actualy my wordpress website doesn't have .htaccess to be able to use that feature, so can i create .htaccess file only for gzip, it won't change anything on ...
1
vote
1answer
879 views

HTML compressor/minifier

Currently I am using a system where HTML gets cached server-side before it's sent to the browser. I'm looking to compress the HTML source of my website before it is cached. Basically I'm looking for ...
2
votes
1answer
401 views

zlib compression issues

I'm having some issues running zlib compression on my site .. Firstly if I enable zlib compression in .htaccess using: php_value output_handler ob_gzhandler then I receive thousands of lines of the ...
3
votes
1answer
3k views

Can Amazon Cloudfront files be served GZIP'd?

If i'm running a WordPress website with the W3TC plugin installed, and have my static CSS/JS minified files hosted on Amazon's CDN, is there a way to serve them GZIP'd? I have the basic understanding ...
2
votes
1answer
471 views

IIS 7.5 Compression is not working when loading the page on a local computer

If I try to access our website inside our servers using the remote desktop connection. YSlow and PageSpeed is reporting that our website are compressed. But If I try to access our website in my local ...
0
votes
1answer
136 views

If Apache applies compression with mod_deflate, is there a reason to serve compressed files?

I have an Apache HTTP server which is configured with mod_deflate to compress content "on the fly". Is there any benefit if I serve a compressed sitemap.xml.gz file, or should I rely on mod_deflate ...
3
votes
4answers
10k views

How can I measure the size of a webpage?

I'm building a website at the moment that has several complicated background images and repeats. The file sizes for each of the images are quite large (I've compressed them down as much as possible!), ...
3
votes
1answer
1k views

How to enable more file formats for GZIP/Deflate Compression

I enabled gzip/Deflate compression on our servers per Google's Page Speed directives, and it looks like it's now compression html/php files, but a couple file formats aren't being compressed that ...
1
vote
2answers
311 views

Weird unexpected image compression on a web server running Apache on Ubuntu?

I have a weird problem on my production web server running Apache on Ubuntu: it compresses my images thereby dramatically lowering their quality! Actually I have two virtual hosts running, each ...
4
votes
3answers
2k views

Is there a Magento extension for combining/compressing javascript and css?

I thought Magento came with this feature out of the box but it doesn't appear to be working at all. I'm not sure if I haven't set it up properly, but right now I'm resorting to using cat and altering ...
3
votes
1answer
467 views

pre-gzipping files and serving to clients possible?

I understand that we can do some settings in .htaccess to allow gzipping on the fly. However is there anyway we could do it "not-on-the-fly"? I have a static file that I wish to serve gzipped, but I ...
4
votes
1answer
1k views

Optimal GZIP compression level for static resources?

Is there a compression level which will provide an optimal balance between file size reduction and client decompression time/cost? I was wondering which GZIP compression level provided the best ...
1
vote
1answer
447 views

[BlogEngine.NET] Compression error

I have a blogengine.net website hosted on godaddy and I'm having issues when viewing it with Firefox and Chrome. On Firefox I get this error : Content Encoding Error The page you are trying to ...
1
vote
1answer
477 views

Is there any web script to compress files on server?

Hey I was just looking for a script to compress all my files on my server through FTP or any other thing. I want to keep the compressed files as backup... And i know that many hosts support it, but ...
2
votes
3answers
154 views

Recommend me a CSS/JS compressor

There are scripts to compress CSS on-demand like these. Have you stumbled upon something similar for javascripts? Also, any recommendations regarding CSS and JS compression are more than welcome. ...
8
votes
9answers
464 views

How do I compress my JavaScript and/or CSS?

I know that there are ways to dynamically load it into the page, but if I want to compress my code so it loads even faster, how do I do it?
8
votes
3answers
267 views

Proper use of Content-Encoding

I've heard it suggested that using setting a page's Content-Encoding to zip or gzip will drive down load times and reduce bandwidth. Is this worth implementing for the average site or only sites with ...