Questions tagged [compression]

Decrease the size of data, typically to preserve space or reduce network bandwidth required while transmitting files. It can be applied to files, folders, disks, etc.

75 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
2k views

GZip compression not working on Tomcat7

I recently tried using gzip compression to improve web UI performance. I configured Tomcat Connector as below. compression="on" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" ...
pratikpawar's user avatar
3 votes
0 answers
2k views

application/json content doesn't get gzip'ed with IIS

We have some rather lengthy AJAX calls in our app, some of which transmit over 100k of data across a rather slow encrypted network. I'd like to enable G-Zip compression on application/json to speed ...
Mike Christensen's user avatar
3 votes
0 answers
654 views

IIS 7.5 no static or dynamic compression

I can't get static or dynamic compression to work on a new server for .ASP, .JS or .CSS files. I'm running Windows Server 2008 R2 Standard 64 bit. Under IIS Role Services, I have ASP installed, as ...
Humtron's user avatar
  • 31
2 votes
0 answers
615 views

Are servers allowed to add a Content-Encoding header based on filename, if there is no compression on-the-fly?

Problem Suppose we have a compressed archive on disk, e.g. file.tar.gz, which should be served as-is. The file is served with Content-Type: application/gzip, but for some reason the server also adds a ...
djvg's user avatar
  • 135
2 votes
0 answers
118 views

How to enable static GZip compression for versioned "/style.css?v=1" resourcess in IIS?

Google PageSpeed reports that files like .css and .js are compressed, but .css?v=1 and .js?v=1 are not. How to enable static compression for files that have a dynamically changing version number in ...
Slava's user avatar
  • 201
2 votes
0 answers
395 views

Google PageSpeed suggests compression - but my site is https

Google PageSpeed suggests to deliver some static files like e.g. JavaScript, CSS. But as our site is HTTPS only we disabled compression in our web server because of security reasons. As far as I ...
Thomas's user avatar
  • 21
2 votes
1 answer
179 views

backup compression ratio in SQL 2012 worse than in SQL 2008

We have SQL 2008 Enterprise with TDE enabled and upgraded to SQL 2012 with TDE still enabled. Everything works fine except that I am getting worse backup compression than in SQL 2008. I do ...
Peter's user avatar
  • 21
2 votes
0 answers
326 views

Cherokee force gzip compression for HTTP/1.0

I am using CloudFront with a Cherokee origin server for static files. Cherokee serves gzipped content for direct browser requests without any problem. But when CloudFront requests content, Cherokee ...
akkishore's user avatar
  • 121
2 votes
0 answers
2k views

Compressed network file copy

I have 200 GB of SQL Server files I need to copy over a 100 Mbit connection. Assuming maximum throughput that will take five hours. SQL Server files compress very well, generally in the 80 - 90% range....
mroach's user avatar
  • 121
2 votes
1 answer
1k views

IIS 7.5 Not Compressing Javascript: NO_MATCHING_CONTENT_TYPE

I have IIS 7.5 set to compress all static files (the default), yet it does not compress .js (javascript) files. When I turn on failed request tracing for compression, the error I get for the ...
Mason G. Zhwiti's user avatar
2 votes
0 answers
1k views

Content Encoding Error on new IIS 7 server with PHP

I recently moved a PHP (Cake framework) development site from an IIS 6 (x86) server to an IIS 7 server (x64). The content is all the same and the URL rewriting works, but on the attempt to display the ...
Ben Brocka's user avatar
1 vote
0 answers
39 views

zfs send to NAS with PIGZ compression slowness

The following command that I use to backup used to take 5 minutes to complete and since last week it is taking around 25 minutes. This is after restarting a switch stack the server is connected to. ...
najarajar's user avatar
1 vote
2 answers
128 views

Nginx performance issues

I made a website using React and connected to Strapi. But I need to keep some background videos mainly on the home page. The main banner has 4 videos and the background of the page is also a video. ...
Fabio Pereira Araujo Da Silva's user avatar
1 vote
1 answer
399 views

Compress input files from rsync before writing to disk

I need to load big text files from another machine through a 10Gb link, files been creating by external/closed-source software that i don't have access to change (for example to make it to compress ...
f.ald's user avatar
  • 111
1 vote
0 answers
587 views

btrfs compress existing data with snapshots

I'm runninga a btrfs raid1 on 5 8 TB disks, where primarily urbackup stores backups to. Urbackup uses snapshots extensively. compsize produces the following output: Processed 106161732 files, 57335496 ...
Christian's user avatar
  • 111
1 vote
0 answers
197 views

haproxy compression type regex/wildcard

As stated in haproxy docs, we can use "compression type" with list of mime types. In my case, there is REST API backend, and the compression should be applied to multiple vendor-specific versioned ...
Andrey Regentov's user avatar
1 vote
1 answer
169 views

How to enable IIS to always precompress / pregzip a certain file?

I have a 4mb js file (gzipped version is 900kb). The file is like this: main.328479fdsdf.js (so it has a hash based on the content). IIS seems to compress my big js file only if is accessed 2 times ...
Alin C's user avatar
  • 111
1 vote
0 answers
586 views

Why do i get gzip css and js with full size instead of compressed size

I am doing some tests with gzip, I have manually compressed the CSS and JS with gzip. The size of the JS has dropped from 33kb to 7kb. The problem is when I look in the network tab in Chrome or ...
EPurpl3's user avatar
  • 111
1 vote
0 answers
67 views

Can I delete SSOServer Logs? (VMware)

I have a client that has a large amount of log files within the SSOServer Logs folder. I want to compress/delete these files so that it makes room. Will this affect VMware? Most are text docs but some ...
Ryan Foy's user avatar
1 vote
0 answers
266 views

Send compressed requests with Apache

I have looked at simlar questions but they do not cover my scenario. Example: Is it possible to enable http compression for requests? Scenario: Server A is running a Service which generates large ...
Jasper's user avatar
  • 111
1 vote
0 answers
219 views

Hyper-V avhd files compressed

I have inherited a machine at a client site that the previous IT person thought it would be a bright idea to compress all the AVHD and the base VHD files for one of their servers running under hyper-v ...
msindle's user avatar
  • 605
1 vote
1 answer
469 views

Can't get included CSS and JS files to be compressed

I have enabled compression via .htaccess and in httpd.conf However when I run it through the various online testers, its always saying that various included files are not compressed. Apache version ...
cosmicsafari's user avatar
1 vote
1 answer
4k views

HTTP compression in Apache reverse proxy?

I have an App server where Apache httpd is installed which serves the requests. We have another Proxy machine which redirects the requests to this App Server httpd using proxy pass. When I apply gzip ...
Geo j's user avatar
  • 11
1 vote
0 answers
123 views

is there any cisco-compatible ipsec+comp module?

I am looking for a waqy to establish an Ipsec tunnel(with lzs-compression enabled) between a cisco router and a host(using strongswan or sth else). I can establish a tunnel without lzs-compression. ...
shohreh's user avatar
  • 111
1 vote
1 answer
3k views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
Venkat's user avatar
  • 111
1 vote
0 answers
203 views

http mod deflate compression works on some but not all CSS files?

I'm trying to get mod deflate and gzip setup on my server. It's all working swimmingly but it does not appear be be catching all files. It's not that it is missing ALL javascript or ALL CSS. It ...
Daniel Procter's user avatar
1 vote
0 answers
2k views

How to unzip "Zip archive data, at least v3.0 to extract" on Ubuntu

I downloaded some virtual machine image (IE9_Win7) from modern.ie, but I can't extract it on Ubuntu 12.04. It errors out with: Archive: IE9_Win7.zip warning [IE9_Win7.zip]: 707116788 extra bytes at ...
Frank Groeneveld's user avatar
1 vote
1 answer
1k views

Varnish 3 performs gunzip even though entire pipeline is gzipped

I'm refactoring my Varnish VCL and can't figure out this one thing. Varnish 3.0 natively supports gzipped content, and it essentially seems to do the right thing. See also: https://stackoverflow.com/...
Martijn Heemels's user avatar
1 vote
1 answer
141 views

Can and should AppHostOnly be changed for IIS7?

A post by a Microsoft supporter on this Microsoft website states that you can't override noCompressionForHttp10 in the web.config file. Can the httpCompression section be changed from "AppHostOnly" ...
Anthony's user avatar
  • 11
1 vote
0 answers
368 views

Backup Exec has lost compression ability

We are running Backup Exec 11d (Version 11.0 Rev 6235) The server is hooked up to an HP Ultrium 440 tape drive. It has been performing very well for a few years now, it has processed about 3-400 TB. ...
Peter Lindqvist's user avatar
1 vote
1 answer
2k views

how nginx serves large files

We have a problem with loading a pdf file which is about 300KB size on our web page. The pdf is being served by nginx. Whenever I load the file, it shows an error saying Failed to open pdf document, ...
Nava's user avatar
  • 143
1 vote
1 answer
508 views

Serve pre-compressed html files using apache2, functionality equivalent to mod_gunzip

Is there a way to implement mod_gunzip's functionality using apache filters? Store gzipped files on the server, hand out compressed data to the browsers that can cope with it and uncompress it for ...
freethinker's user avatar
1 vote
0 answers
30 views

gnome file roller never overrides existing files

When using gnome file roller (Archive manager), it never seems to overwrite existing files, independent from access rights. There is also no error message. Is this expected functionality?
jdog's user avatar
  • 131
1 vote
1 answer
375 views

How does random access work with compressed drives on Windows?

If one turns on drive compression in Windows Server 2003 (ignoring dire warnings of performance), how does random access to that file work? Does Windows create a temporary uncompressed version of the ...
Rob Nicholson's user avatar
1 vote
0 answers
324 views

Apache gzip with chucked encoding

I'm expiriencing some problem with one of my data source services. As it says in HTTP response headers it's running on Apache-Coyote/1.1. Server gives responses with Transfer-Encoding: chunked, here ...
user avatar
1 vote
1 answer
575 views

nginx is not compressing response by default when acting as a reverse proxy

I have nginx sitting on port 80, redirecting requests to a play framework server as described by deployment docs. I have verified that the server by default does not compress by doing the steps ...
Nasir's user avatar
  • 123
0 votes
0 answers
281 views

Re-compressing XZ kernel module?

I have a kernel module produced by kernel option CONFIG_MODULE_COMPRESS_XZ. When I manually decompress the file with unxz and re-compress with xz, the new .ko.xz file differs from the original .ko.xz ...
Pavel Hofman's user avatar
0 votes
0 answers
3k views

is there a faster way to extract a large file tar in lz4 format?

I have a 7 TB file that is tared with lz4 compression. It takes about 8 hours to extract. is there a faster way to do this? This is the command I use: lz4 -d /mnt/tmp/7TBFile.lz4 | tar -xvf -
Cade Nelson's user avatar
0 votes
1 answer
750 views

Returning compressed data when client omits accept-encoding header

In the HTTP 1.1 Standard, it says that "If no Accept-Encoding field is in the request, any content-coding is considered acceptable by the user agent." Which means that a server can, for ...
CaptainCodeman's user avatar
0 votes
1 answer
735 views

Stratis filesystem will not mount after a reboot because the disk is full

It concerns a rhel8 server that has two disks (sda and sdb), and only on the sdb disk a Stratis filesystem has been created. After a restart of the server, no more mount point appears on the sdb disk. ...
user12283246's user avatar
0 votes
0 answers
472 views

community.windows.win_unzip shows Filename contains relative paths which would extract outside the destination error message

I'm trying to unzip a zip file in a remote server This file was download first from jFrog repository The following task should handle the unzip: - name: Unzip Config.zip file community.windows....
Hiddai's user avatar
  • 95
0 votes
0 answers
333 views

Transfer Compression with Cloudfront and nginx SSI

Is there any way to enable GZIP / Brotli compression on Cloudfront if the origin is a nginx server with SSI (Server Side Includes) enabled? The issue seems that nginx SSI drops the Content-Length ...
rauberdaniel's user avatar
0 votes
1 answer
196 views

ZFS Transfer extremely bursty

I am testing a new ZFS configuration with z-std for log storage and storage of highly compressible files. The Array is tested on a 5 drive raidz-1 in a virtual machine on my PC which has direct access ...
user3829915's user avatar
0 votes
1 answer
2k views

How do I make a compressed disk image (qcow2 and/or squashfs) from a disk directly?

I have a disk attached to my server and I want to make the disk image of it downloadable on the same server. The disk itself is 500GB but I don't want to have a 500GB disk image for download. I'd like ...
CosmoΓammaByte's user avatar
0 votes
0 answers
90 views

Opera Mini Compression Technology

I'm trying to find the technology used in Opera Mini's browser. I can't find anything related to this, so I would like to know if anyone knows whether there exists a paper on this or if there is ...
Myzel394's user avatar
  • 101
0 votes
1 answer
178 views

How to syncronize XML files and store them as .gz at destination using rsync

I'm using rsync -z to backup a large amount of XML files. The source is a huge machine with thousands of GBs available on disk, but the destination is not that powerful. What I want to do is to ...
optimus_prime's user avatar
0 votes
0 answers
172 views

tar | pigz dies if run under cron

I run a kind of backup script using tar joint with pigz for compression. The problem is that tar -zcf /file.tar.gz /folder runs under cron. While tar -I pigz -cvf /file.tar.gz /folder nor tar ...
Paul Paku's user avatar
  • 151
0 votes
0 answers
286 views

Nginx serve another file when possible

I currently compile my assets with Webpack's BrotliPlugin, which creates a separate file, brotli-encoded, i.e.: style.css style.cssb Here's what I want to achieve: Consider the HTML page requests ...
Ben's user avatar
  • 101
0 votes
1 answer
74 views

How do I find out why compact command appears to hang on certain files?

After extending the hard disk sizes on a Windows 2008 server I am trying to revert the compressing of a lot of files on the hard drives. I use the command compact /u /s /i /f /q for it. But it ...
Patrick's user avatar
0 votes
1 answer
673 views

Script isn't served compressed from IIS

I have IIS 10 running on Windows 2016 (I see exactly same behavior on Windows 2019). I enabled static compression. I can see that the browser (Chrome) sends accept-encoding: gzip, deflate, br. I can ...
Felix's user avatar
  • 553