Implementation is everything

Image #1 for QA series - Check out more posts tagged as NginxThere was an interesting question in the Nginx mailing list regarding replacing Varnish with Nginx as a load balancer. Let me quote the question directly here…

The question:

We are using Varnish in front of 3 load balanced web servers running apache.  We had migrated from one hosting platform where we had 1 app server and 1 database server using Varnish (Drupal 6.x) and had no issues.  Now that we are running in a load balanced environment (3 load balanced apache web servers, a Varnish server, and 1 database server) we are seeing mulitple examples of cacheing issues. (Pages not displaying correctly… style issues, data input staying cached and used on another page, etc).

We think we can just replace the Varnish server and use a NGinx server.  I don’t want to necessarily remove all the apache servers, but we have to get this cacheing issue corrected….

any thoughts…?

Continue reading “Implementation is everything”

Can’t afford Nginx? You have options!

Alternative Nginx SolutionsSome background info: Last month, I had a hectic schedule (that’s why no posts last month) and worked on multiple websites at the same time. A few of them were on a shared hosting environment. As you know nothing can be installed on a shared host. Rest of them were being hosted in a managed webhost. A managed host doesn’t support third party tools including Nginx & Varnish. Additionally a managed web hosting provider hardly allows an outsider to install these too. Moreover, setting up php-fpm on a managed hosting is an easy way to mess up things.

Almost all those sites had more static content than dynamic content. Basically, Nginx is known for serving static files faster than Apache (there are other advantages with Nginx too, but that’s for another day). As only Apache was available in those managed webhosts and in those shared webhosts, basically, I put forward three options to my clients to get Nginx in an affordable way … Continue reading “Can’t afford Nginx? You have options!”

Script to Install and Upgrade Nginx from Source

Nginx logoNginx is a free, open-source, high-performance HTTP server and reverse proxy. It is widely used in many really high traffic websites such as WordPress.com. It is also used here in tinywp.in since the beginning. There are plenty of methods to install it on any VPS or dedicated servers. The official installation instructions available from the official wiki. Here I show you my own script to compile it from source, install and upgrade using a bash script. Continue reading “Script to Install and Upgrade Nginx from Source”

W3 Total Cache Alternatives

Cachify Logo for the post entitled W3 Total Cache plugin alternativesThere is no doubt that W3 Total Cache has so many options to optimize any WordPress site than any other caching plugin. Even if you use all the features it offers there are other ways to achieve the same, manually, with better efficiency and better results.

Additionally, if you have used W3 Total Cache plugin for at least a year, especially on a multisite, you’d know that it is not a perfect plugin. As with any other plugin out there, it has its own bugs, does some nasty things, some unsatisfied users, had some security flaws on some hosts and a lot more. What’s more, it is not actively developed as of now. The latest development log shows that it’s been 5 months since the last commit with the number of unanswered questions growing by every day in the WordPress support forums.

Updates:

Continue reading “W3 Total Cache Alternatives”

Nginx Rewrite Rules for WP Admin over SSL

This is a continuation of administering your WordPress blog over SSL to increase your blog security.

Nginx rewrite rules are tricky, but are easier to learn once you understand them. I’m sure they are lot easier to understand, learn and write than .htaccess rules for Apache HTTP server. Here I solve an important issue when you use WordPress over HTTPS, otherwise called the secure protocol. Continue reading “Nginx Rewrite Rules for WP Admin over SSL”

Proudly Powered by…

This site is proudly powered by the following technologies…

Blogging Platform: WordPress

Web Server: Nginx – Nginx is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Here in this VPS, it listens on port 443 and has http2 enabled.

Continue reading “Proudly Powered by…”

css.php