Why do you need your own smart DNS proxy? Here is one reason. If you live in a country other than the US, you may find that popular media providers (like Netflix, Hulu etc.) may not serve you all the movies or TV shows in their library. This is because […]

Your Own Smart DNS Proxy

If you are a WordPress theme or plugin developer, you may have heard of the internationalization (i18n) and localization tools available so that your plugins and themes can reach the widest global user base. They use the famous GNU gettext functions to do the actual work of maintaining translations of […]

Internationalization: GNU GetText or Google Translate

drop-in plugins
WordPress drop-in plugins are special plugins that get used when WP runs on your server and modify its behavior. They are called drop-in because you don’t have to activate them. In fact, you cannot activate or deactivate them. They are active when the plugin file exists (is dropped in) in […]

What are WordPress Drop-in Plugins?

WordPress transients are pieces of reproducible data that are stored in your database. They are expected to be relatively resource-intensive to reproduce, and not likely to change often. For example, the results of complex database query may quality as a transient. WordPress provides an easy-to-use API to handle transients so […]

What are WordPress Transients?

If you have run a PHP application such as a WordPress blog or a bulletin board, you really need to have a PHP accelerator (such as APC or its little brother APCu) on your server for the so called op code caching. This is one of the basic optimization techniques […]

No APCu on Your Server? Simulate It!

CDN Buster
Content Delivery Network (CDN) is a collection of geographically distributed servers that mirror and serve you static contents (images, JavaScrip/CSS files, movies etc.) to your readers much faster than your own blog server can. It speeds up your blog tremendously: It serves a large part of your website payload from […]

CDN Invalidation – Why and How

websvn and mysql
If you are a web developer working on a Mac, you probably have an XAMPP stack installed, along with a source code manager like SVN (or git, for the intrepid). You may also have the SVN browser WebSVN. If you don’t, I highly recommend it. If you already had WebSVN […]

WebSVN and MySQL on a Mac

Digital Unix machine called DecsSation, similar to the one I messed up as root
In the previous post, I outline how you could keep your web server running by automatic monitoring, running as the superuser, root. The warning is that doing anything as root is extremely dangerous. Here is what I did, about twenty-five years ago, to bring a cluster of Unix workstations to […]

How to Completely Mess up a Unix Cluster

Do you find that the PHP functions ini_set() and set_include_path() are not working on your server? Did they stop working after you switched your PHP handler mode to DSO or something? Here is a possible cause and solution to this pesky problem. Many developers use the PHP functions ini_set (to […]

PHP ini_set and set_include_path Functions

If you are on a VPS or a dedicated server, you have some optimization issues to grapple with. Your PHP process can run faster if you set up an opcode cache, which will store byte-compiled PHP files in memory for a while so that your server doesn’t have to recompile […]

Optimize Your PHP Handler and WordPress