Memcached Overview

Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is a generic purpose distributed high performance memory object caching system to use in speeding up dynamic database driven websites by caching data and objects in memory to reduce the amount the database needs to be read. Memcached was originally developed by Danga Interactive for LiveJournal but is now used by many popular and large community driven websites like Slashdot, Wikipedia, SourceForge, Facebook and like. It is being distributed under a permissive free software licence.

Continue reading

Redirect from the www version of site to the non-www version

This article describes how to make a redirect from the www version of your site to non-www version.  So, when someone types in http://www.mydomain.com – it will automatically resolve to http://www.domain-name.com.

For example, a popular site StackOverflow works as follows: when you type with www as http://www.stackoverflow.com/ – it automatically redirects you to non-www URL: http://stackoverflow.com/.

Search engines don’t automatically assume that both the ‘www’ and ‘non-www’ version of a domain are one and the same. This is why it’s important to tell the search engines which domain you prefer through using the .htaccess file.

Continue reading