Redis basics
What is redis?
Redis is a distributed open source cache solution that is used for writing cache data in the memory. You can use Redis for caching the frontend as well as the backend data, also the sessions can be saved.
By making use of redis-caching, a saved page will be retrieved from the cache when someone visits the website. The page can be served quicker, as it does not have to be retrieved dynamically. Serving the requested content directly results in a faster loading time of the page.
Redis makes use of so-called key-value data sets. Redis supports various data types, such as:
- Strings
- Lists
- Maps
- Sets
- Sorted sets
- Bitmaps