[TYPO3-dev] [BE][compressionLevel] NGINX and Fast CGI with TYPO3 4.4 BETA2

Olivier Dobberkau olivier.dobberkau at dkd.de
Tue May 4 00:43:42 CEST 2010


Am 03.05.10 23:33, schrieb Steffen Gebert:

> please have a look at my posting in projects.v4 list, few seconds ago.

ok. i presume:

- files are gziped by TYPO3 already.
- i need to tell nginx to send the gz files as js or css gziped

found something on the net.

   location ~* "\.js\.gz$" {
        add_header  Content-Encoding  gzip;
        gzip off;
        types { text/javascript gz; }
       }

   location ~* "\.css\.gz$" {
        add_header  Content-Encoding  gzip;
        gzip off;
        types { text/css gz; }
       }


but this does not work. will try more tomorrow.

olivier







More information about the TYPO3-dev mailing list