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.

418 questions
1
vote
1 answer

Disabling Apache compression

How do I disable Apache compression per virtual host or per directory? Is this done through a modification to the http.conf file, a .htaccess file or something else?
cappuccino
  • 259
  • 1
  • 4
  • 9
1
vote
2 answers

Can IIS6 compression file types be configured on a per-site basis?

The following article explains how to customise the file types that can be compressed in IIS 6: Customizing the File Types IIS Compresses (IIS 6.0) [MS TechNet] The metabase settings discussed are global settings. Can I configure this on a per-site…
Kev
  • 7,877
  • 18
  • 81
  • 108
1
vote
8 answers

Compressing and copying large files on Windows Server?

I've been having a hard time copying large database backups from the database server to a test box at another site. I'm open to any ideas that would help me get this database moved without having to resort to a USB hard drive and the mail. The…
Aaron
  • 159
  • 1
  • 1
  • 7
1
vote
1 answer

Compression without Mod_Deflate

Greetings all, After running tests with Google PageSpeed, I believe my site could really benefit from compressing js/html/css/php files. Unfortunately, my host (Host Gator) does not support Mod_Gzip or Mod_Deflate. I was able to enable php…
pws5068
  • 155
  • 3
1
vote
0 answers

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 sample response: HTTP/1.1 200 OK Server:…
user39542
1
vote
0 answers

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. The NAS 192.6.222.116 is in a different subnet to…
najarajar
  • 11
  • 1
1
vote
2 answers

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. The site was very heavy and overloaded, but the…
1
vote
2 answers

Will disk compression impact the performance of a MySQL database?

I've recently setup a TrueNAS storage server and hosted on it is a MySQL database. It's about 3GB; I'm not too concerned with how much space it's utilising. By default, TrueNAS enables LZ4 compression on the ZFS filesystem. There's nothing else on…
Baa
  • 113
  • 3
1
vote
1 answer

Cloudflare uncompressing, then re-compressing response bodies

I'm using Node.js/express and if I set the headers Content-Type: application/json Content-Encoding: gzip and send gzipped compressed bodies of JSON data, this works as expected - when not behind Cloudflare. But if behind Cloudflare and with Brotli…
Amaterasu
  • 11
  • 3
1
vote
1 answer

Compressing rarely queried historical data in postgres

In short: compress multiple historical DB records to bigger, compressed records and temporarily uncompress it to the original records for easier querying, and clean that up when querying is done. Wondering of implementing a SW layer for that. I tend…
Attila123
  • 161
  • 1
  • 4
1
vote
1 answer

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 output files) Currently network and disk IO usage…
f.ald
  • 111
  • 1
1
vote
0 answers

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 regular extents (190449694 refs), 63766108…
Christian
  • 111
  • 2
1
vote
1 answer

How to install nginx-module-brotli?

I have a server with ubuntu 20.04 But I am unable to install nginx-module-brotli for my nginx server. Here are the commands I use to install Brotli for Nginx : $ sudo apt install git gcc cmake libpcre3 libpcre3-dev zlib1g zlib1g-dev openssl…
20f2c98f50
  • 39
  • 2
  • 11
0
votes
0 answers

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 cvf - /folder | pigz > /file.tar.gz do not... It…
Paul Paku
  • 151
  • 9
0
votes
0 answers

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 style.css. IF The user sent br into its…
Ben
  • 101