# Speed up static content

**URL:** <https://www.ruby-forum.com/t/speed-up-static-content/213671>\
**Category:** NGINX\
**Created:** [November 8, 2011, 5:03pm UTC](https://www.ruby-forum.com/t/speed-up-static-content/213671 "2011-11-08T17:03:40Z")\
**Posts on this page:** 3\
**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:** [November 8, 2011, 5:03pm UTC](https://www.ruby-forum.com/t/speed-up-static-content/213671/1 "2011-11-08T17:03:40Z")

</div>

Is there a special configuration for static content like image files? I  
have no problem with nginx, and the reason that I am asking is to know  
if there is a different nginx conf to load static files faster.

Posted at Nginx Forum:

> **[Speed up static content](https://forum.nginx.org/read.php?2,218021,218021#msg-218021)**
>
> Is there a special configuration for static content like image files? I have no problem with nginx, and the reason that I am asking is to know if there is a different nginx conf to load static files faster.

---

<div class="post-metadata">

**Author:** ![etrader](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@etrader](https://www.ruby-forum.com/u/etrader)\
**Post date:** [November 8, 2011, 5:24pm UTC](https://www.ruby-forum.com/t/speed-up-static-content/213671/2 "2011-11-08T17:24:09Z")

</div>

2011/11/8 etrader [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Is there a special configuration for static content like image files? I  
> have no problem with nginx, and the reason that I am asking is to know  
> if there is a different nginx conf to load static files faster.

Hard to say without know your hardware, OS, processor, etc, but look at  
this:

> **[Image Hosting](http://mailman.nginx.org/pipermail/nginx/2010-October/023025.html)**

Hope it helps.

---

<div class="post-metadata">

**Author:** ![etrader](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@etrader](https://www.ruby-forum.com/u/etrader)\
**Post date:** [November 8, 2011, 6:06pm UTC](https://www.ruby-forum.com/t/speed-up-static-content/213671/3 "2011-11-08T18:06:53Z")

</div>

Thanks Daniel! I run nginx (1.0.4 or 1.0.5) on different servers, but in  
general, they are based on Centos or Ubuntu running php via php-fpm.

Posted at Nginx Forum:

> **[Re: Speed up static content](https://forum.nginx.org/read.php?2,218021,218026#msg-218026)**
>
> Is there a special configuration for static content like image files? I have no problem with nginx, and the reason that I am asking is to know if there is a different nginx conf to load static files faster.
