Re:Nginx just became the most used web server among the top ...
by TylerE on Wednesday July 03, 2013 @11:16AM
(#5985064)
I'm not so sure I agree with that. Nginx is actually pretty featureful these days.
[ Parent
| on HN ]
Re:Nginx just became the most used web server among the top ...
by FooBarWidget on Wednesday July 03, 2013 @12:02PM
(#5985430)
But all those features can be implemented efficiently. There are a lot of things that Nginx does not support, that would make Nginx slower if it did support that. .htaccess support for example.
Re:Nginx just became the most used web server among the top ...
by TylerE on Wednesday July 03, 2013 @12:04PM
(#5985446)
This may be arguing semantics, but I don't consider that a feature, as anything doable via .htaccess is doable via the main config. (not to mention that nginx supports graceful hot reloads so it's not a problem to manually force it to rescan the main config.
Re:Nginx just became the most used web server among the top ...
by FooBarWidget on Wednesday July 03, 2013 @12:55PM
(#5985851)
The WordPress Supercache plugin automatically sets up a .htaccess with mod_rewrite rules to enable caching. On Apache, it just works. On Nginx without .htaccess support it would have to tell the user to copy-paste a snippet. Ouch, not so friendly. And this is even assuming the user has access to the web server config file.
Re:Nginx just became the most used web server among the top ...
by dangayle on Wednesday July 03, 2013 @06:05PM
(#5987816)
In my experience, switching to a properly configured NGINX server running PHP-FPM with memcached negates much of the need for Supercache to begin with. Caching plugins tend to cause subtle problems all over the place for WordPress plugins, so I prefer to run "bare metal" as much as I can.
Also, I can't imagine anyone running NGINX without having access to the config file.
Re:Nginx just became the most used web server among the top ...
by jacques_chester on Wednesday July 03, 2013 @09:54PM
(#5988743)
Actually, WP Supercache and nginx can form an awesome team.
You configure WPS to spit out gzipped copies of each page on disk, then you configure nginx to serve gzipped pages directly whenever they are found (gzip_static and try_files).
Basically you can serve compressed pages straight off disk. And thanks to the miracle of operating system file caching, it's usually straight from memory.
Re:Nginx just became the most used web server among the top ...
by flaktrak on Wednesday July 03, 2013 @08:14PM
(#5988343)
I completely agree with this and anyway many of the caching programs are starting to understand that nginx is out there. I am pretty sure w3 total cache does.
However since using nginx I have done away with caching as it is so much faster than apache + caching that I don't really need it.
Re:Nginx just became the most used web server among the top ...
by dangayle on Thursday July 04, 2013 @07:01PM
(#5992786)
That's my point. For any small/medium sites, switching to NGNIX will make a dramatic improvement on all aspects of your site, while dicking around with caching will cause you endless headaches.