# Gzip vs Gzip static

**URL:** <https://www.ruby-forum.com/t/gzip-vs-gzip-static/207015>\
**Category:** NGINX\
**Created:** [May 16, 2011, 10:22am UTC](https://www.ruby-forum.com/t/gzip-vs-gzip-static/207015 "2011-05-16T10:22:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [May 16, 2011, 10:22am UTC](https://www.ruby-forum.com/t/gzip-vs-gzip-static/207015/1 "2011-05-16T10:22:38Z")

</div>

Hi,

This may be a silly question, but, does gzip static depend/extend  
gzip, or can i just compile with gzip static and without gzip? I would  
assume either gzip or gzip+static, but i’d like to confirm.

Thanks,  
Nuno

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 16, 2011, 10:25am UTC](https://www.ruby-forum.com/t/gzip-vs-gzip-static/207015/2 "2011-05-16T10:25:44Z")

</div>

On Mon, May 16, 2011 at 09:21:32AM +0100, Nuno Magalhes wrote:

> Hi,
> 
> This may be a silly question, but, does gzip static depend/extend  
> gzip, or can i just compile with gzip static and without gzip? I would  
> assume either gzip or gzip+static, but i’d like to confirm.

gzip\_static does not depend on gzip filter. You can use gzip\_static  
without compiled gzip filter.

–  
Igor S.
