Home > Blog > Boost your website’s performance with ActiveCache

Blog

Boost your website’s performance with ActiveCache

Boost your website’s performance with ActiveCache

Website Optimization & Security

A magical instrument which saves hosting resources and improves the speed of your website – sounds great, right? Our shared hosting clients can now use ActiveCache – a free tool which will give you the possibility of activating the memory caching systems Memcached and Redis.

When the performance of your website has to be improved caching is one of the first things that comes to mind. Both key-value in-memory databases – Memcached and Redis, are similar in the way that they store the information in the RAM which makes them very efficient. They come in handy most often when caching the contents of the website or profiling MySQL requests. It will allow the elimination or reduction of database requests when the information is being stored, saving resource and improving the website’s load speed in the process.

What is Memcached?

For most websites and all running on the most popular CMS platform WordPress, repeating requests are the main reason for bad performance. Every MySQL request takes time and uses up CPU power to be processed. Often processing the same request is redundant and can be cached. Once cached in Memcached a specific content will be called directly from the cache, when is requested, thus improving the overall speed of your website or application. The time and terms of caching depend on you and your implementation.

Memcached comes in good use when caching static information of a lesser scale, like for example fragments of HTML. Managing the memory may not be as complicated as with Redis, but it is more efficient and simpler because it takes up fewer resources form the metadata. Memcached caches data in the memory like strings, objects, database results, SQL and API requests, and page rendering. By using Memcached you drastically lower the number of requests to the database, which allows the infrastructure to serve more users at the same time.

What is Redis?

Redis is often referred to as a NoSQL database. Its structure gives you power and efficiency in every aspect of cache management. The ability to process more types of data such as Hashes, Lists, Sets, and Sorted Sets makes it a preferred choice over Memcached in some cases. Redis takes advantage of the so-called data eviction mechanism which deletes old information from memory and makes room for the new one. This happens in a more “intelligent” way compared to Memcached because it can remove old information only when it needs more space. For extra security, you can set a password for Redis from the control panel.

For the WordPress users using WordPress Management, activating ActiveCache is made even easier. WordPress Optimize which is part of WordPress Management makes use of ActiveCache by activating Memcached and installs the specialized WordPress plugin W3 Total Cache and configures it. If you have already installed a caching plugin in WordPress, it will be checked, and an automatic configuration will follow.

Every Shared hosting client has its instance of ActiveCache due to the uniqueness of every website. It is important to know that only one key-value in-memory database can be activated at a time. Choose one between Memcached and Redis, enable it and improve your website’s performance.

Tags: #activecache #hostpulse #website #memcached #redis #wordpress

Back to top