OK , I will turn it OFF.. is there anything else that can be improved.. ?<br>thanks a lot<br>On Jan 28, 2008 9:14 AM, Igor Clark <<a href="mailto:igor@pokelondon.com">igor@pokelondon.com</a>> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Off the top of my head, I don't know if gzipping binary image data is<br>going to get you much except overhead - it's probably a narrow<br>
calculation though<br><div><div></div><div class="Wj3C7c"><br>On 28 Jan 2008, at 17:02, <a href="mailto:rkmr.em@gmail.com">rkmr.em@gmail.com</a> wrote:<br><br>> this is my config for a web server that does only static files<br>
> mostly gifs, pngs and jpgs.. is there any improvement i can do in<br>> this like is there some sort of caching that can be enabled? or any<br>> other improvements that can be done to this..<br>><br>> ------------------------------------------------------------------<br>
> #user mark;<br>> worker_processes 1;<br>> error_log logs/error_staticfarm.log;<br>><br>> pid logs/nginx_staticfarm.pid;<br>> events {<br>> worker_connections 1024;<br>> }<br>><br>
> http {<br>> include mime.types;<br>> default_type application/octet-stream;<br>><br>> #access_log logs/access_staticfarm.log;<br>><br>> sendfile on;<br>> #tcp_nopush on;<br>
><br>> keepalive_timeout 0;<br>> #keepalive_timeout 10;<br>><br>> gzip on;<br>> server {<br>> listen 6080;<br>> server_name localhost;<br>> #access_log logs/host.access.log main;<br>
> location /nginx_status {<br>> stub_status on;<br>> access_log off;<br>> }<br>> location /static{<br>> root /home/mark/staticfarm/;<br>> access_log off;<br>
> }<br>> }<br>> }<br>><br><br></div></div><font color="#888888">--<br>Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749<br>5355 // <a href="http://www.pokelondon.com" target="_blank">www.pokelondon.com</a><br>
<br><br><br><br><br></font></blockquote></div><br>