Memcached is a memory caching system, which is used to increase the performance of database-driven sites by caching the calls and the replies between the visitor and the server. In simple terms, anytime a given page on such a site is requested, the script connects to its database to get the info that should be displayed to the visitor. In case the latter clicks on a hyperlink to open some other web page, the whole procedure is executed again and this generates a lot of database calls and excessive load on the server, even more so if the website has lots of simultaneous visitors. Memcached "memorizes" this exchange of information, so in case any of these pages is accessed again, the script no longer needs to request any content from the database, as everything is delivered by the caching platform. In this way, the overall loading speed of your site will increase and you’ll get more gratified visitors and they will be able to browse your site much faster. In addition, Memcached "refreshes" its cache when any content in the database is modified, so the users will never see out-of-date data.
Memcached in Cloud Hosting
Memcached is offered as an optional upgrade with each and every cloud plan that we’re offering and you can begin using it once you enable it, since the PHP extension that it requires in order to perform properly is already present on our leading-edge cloud web hosting platform. You can request the upgrade from the Hepsia hosting Control Panel, which is available with each plan and a brand-new section where you can administer Memcached will appear. The upgrade is divided into two parts – the number of instances and the amount of system memory, so as to offer you more versatility. The first one shows the number of the websites that can use Memcached, while the second, which is available in increments of 16 megabytes, specifies the total size of the content that the system can cache. A traffic-heavy site with a large database may require more memory in order to take an even greater advantage of Memcached, so in case you’d like to upgrade this feature, you’ll be able to do it at any given moment with a couple of clicks.