A cache is a high-speed data storage layer. It stores a subset of transient data so that future requests for that data are served up faster than is possible by accessing the data’s primary storage location.
Why is caching important?
Caching allows you to efficiently reuse previously retrieved or computed data.
Knowing that the basic database functions (such as CRUD) are rather slow in the computer programming sense, caching is necessary to reduce the time spent waiting for results.
Caching with ReadyCMS
ReadyCMS devs take pride in its speed, as well as in the performance of websites that use ReadyCMS.
The main reason for the excellent ReadyCMS performance is an advanced and highly optimized caching system.
By enabling website caching, you can improve website speed by up to 80%.
ReadyCMS users have two caching options:
- website caching
Caching is performed on the client's server (a server that contains your website files). This functionality must be added by your developer, and then enabled in ReadyCMS.
- admin caching (API caching)
Caching is performed on our ReadyCMS servers (admin server where ReadyCMS is located, it's connected with your server and with a database where the data is stored).
A cache is essentially temporary storage. When a user browses your website and sends a request asking for some data from your server, that request will be forwarded to our ReadyCMS servers. Our server will then send a query to a database asking for the information requested by the user's action.
This information will be sent from the database, via the ReadyCMS server to the client's server and then to the user of the client's website. At the same time, the data will be cached on our server and the client's server (if implemented) in case the user requests it again.
By caching API calls, you can reduce the number of spent API resources of your subscription plan.
Requests to the servers are made using APIs (API calls). Learn more about APIs and how to manage API access in ReadyCMS.
Every time you finish updating or editing content on your website, you should clear the website cache. Learn how you can clear the website and admin cache.