News for hackers. Stuff that matters.
Re:How I reduced Page Load Time by 75% - WordPress Optimization by kadavy on Thursday April 22, 2010 @01:02AM (#1284228)
I heard that advice about nginx, but was concerned about lack of a mod_rewrite module for smart URL structure. Is there a way to have search-engine-friendly-urls easily with nginx?
Re:How I reduced Page Load Time by 75% - WordPress Optimization by patio11 on Thursday April 22, 2010 @01:45AM (#1284281)
Nginx configuration is about as powerful as Apache, and personally easier for me to grok, but you have to be able to get past the lack of documentation.

Here's the configuration file from my new project -- with the domain name removed. I've marked the magic bits that gets you Wordpress pretty URL compatibility. If you're actually asking about more complicated rewrites, those are all possible too -- look at the Nginx rewrite module docs.

http://www.pastie.org/929223

Re:How I reduced Page Load Time by 75% - WordPress Optimization by kadavy on Thursday April 22, 2010 @01:52AM (#1284292)
That's a much more attractive configuration file than an Apache one.

I see that you're using FastCGI. Something I didn't mention was that I attempted to use FastCGI, but gave up because my memory usage kept snowballing until I had to reboot my server over and over again. I don't know for sure whether it would have made things any faster.

Re:How I reduced Page Load Time by 75% - WordPress Optimization by IgorPartola on Thursday April 22, 2010 @07:15AM (#1284726)
Here's the simplest way I've found how to do it. There is also a snippet of Nginx config floating out there for enabling SuperCache (and I assume Total Cache would be easy to implement too). I am able to run 8 FastCGI processes + nginx + MySQL (with InnoDB) on a 256MB VPS, but YMMV. Overall, nginx is awesome.

http://igorpartola.com/web-development/how-to-set-up-nginx-w...

Re:How I reduced Page Load Time by 75% - WordPress Optimization by pierrefar on Thursday April 22, 2010 @03:36AM (#1284410)
Use php-fpm with enginx and you're golden. I ran a website getting millions of requests daily and it worked a treat on a small EC2 instance.
Re:How I reduced Page Load Time by 75% - WordPress Optimization by jf on Thursday April 22, 2010 @03:37AM (#1284413)
David, Nginx is awesome.
Re:How I reduced Page Load Time by 75% - WordPress Optimization by kadavy on Thursday April 22, 2010 @10:46AM (#1285205)
No, you're awesome, Jöel
Re:How I reduced Page Load Time by 75% - WordPress Optimization by shin_lao on Thursday April 22, 2010 @09:28AM (#1284979)
I recently posted about configuring a BSD machine to run Wordpress on nginx, hope it helps.

http://www.bureau14.fr/blogea/index.php/2010/04/setting-up-a...