docker-nextcloud icon indicating copy to clipboard operation
docker-nextcloud copied to clipboard

Gzip compression

Open clesecq opened this issue 1 year ago • 3 comments

Hello,

In the nextcloud documentation, there are these lines:

gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;

Is it deliberate not to activate compression? And if so, why?

clesecq avatar Sep 27 '24 11:09 clesecq

Can you please drop here the link to the documentation you are referring to?

waja avatar Jan 18 '25 12:01 waja

Here: https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx

clesecq avatar Jan 18 '25 13:01 clesecq

Usually today most application images runs behind a proxy. As far as I remember I tried to enable gzip in the past in the image but had issues running behind our proxy. Actually I'm on a backpacking tour through Asia next 3 months and lacking every electronic equipment except my Smartphone, which might not fit the needed environment to dig into this. :)

waja avatar Jan 18 '25 13:01 waja