# Gzip\_static and file-extension '.gzip'

**URL:** <https://www.ruby-forum.com/t/gzip-static-and-file-extension-gzip/223941>\
**Category:** NGINX\
**Created:** [October 24, 2012, 1:26pm UTC](https://www.ruby-forum.com/t/gzip-static-and-file-extension-gzip/223941 "2012-10-24T13:26:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [October 24, 2012, 1:26pm UTC](https://www.ruby-forum.com/t/gzip-static-and-file-extension-gzip/223941/1 "2012-10-24T13:26:01Z")

</div>

hi,

is there any chance to extend gzip\_static to act on more than the  
current file extension ‘.gz’ for pre-compressed files?

In my case TYPO3 does generate ‘.css.gzip’ or ‘.js.gzip’ or even  
‘.gzip.js’ in some places files which are plain gzip files too. Now I  
can imagine that this could result in a speed-bump to be able to  
deliver them directly without having to either let them be compressed  
by nginx or patch TYPO3 Core and a lot of Extensions to make them  
write ‘.css.gz’ (and so on).

Regards,  
Christian
