June 06, 2012 11:02AM
Hi,

I'm running a quite huge TYPO3 installation on nginx (several other
installations to follow on that host). In this case I'm using (or want
to use) nc_staticfilecache as an extension to speed things up a
little. This extension writes the html document which is sent to the
client down to disk as a single uncompressed file and - depending on
its configuration - another one which is gzipped for static delivery
for subsequent requests to the same document.

Now the question is if my rewrite or try_files directives will try to
deliver the gzipped version of the page.

My try_files directive looks like this:
try_files /typo3temp/tx_ncstaticfilecache/cache/$host${request_uri}index.html
@fetch_from_typo3;

The index.html.gz within the same directory does exist and
'gzip_static' is set to 'on'.

Best,
Chris

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

is 'try_files' or 'rewrite' aware of 'gzip_static'?

hexa June 06, 2012 11:02AM

Re: is 'try_files' or 'rewrite' aware of 'gzip_static'?

Francis Daly June 06, 2012 04:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready