Type of cache in Magento2

Type of cache in Magento2

Magento 2 has several types of caches that can be used to increase the performance and speed of the platform. This savings helps reduce the load on the server and improves response time for clients. Here are the main types of cache in Magento 2 .

Type of cache in Magento2

Full Page Collection (FPC):

Full Page Cache is one of the most important caching options in Magento 2 .
It stores complete HTML pages, with all features, so that they can be quickly delivered to subsequent visitors.
It also helps reduce server load and improves page load time significantly.
Saved Page: .

Page Cache is a subset of Full Page Cache.
It stores all the HTML content of specific pages such as product pages, distribution pages, and CMS pages.
It is usually used for static surfaces which do not change very often.
Block Collection:

Block Cache stores specific blocks or parts of a page.
It can hide individual elements such as lists, shopping cart blocks, and other dynamic parts of the page.
It improves performance by eliminating the need to repeat these blocks on every page load.
Configuration cache: .

Layout Cache Caches New XML layout.
XML structures define the layout of pages, which, when stored, speed up page rendering.
Summary Storage:

The archiving data store stores database queries and results.
It is used to store data retrieved from a database, such as product or customer data, to avoid unnecessary database queries.
EAV (Executive-Attribute-Value) Cache: 1.1.

The EAV Cache stores entity-related metadata, attribute information, and attribute values.
It contributes to the efficiency of products and systems.
Summary Configuration:

Configuration Saves archiving system and repository configuration settings.
It accelerates configuration data recovery, which is important for different parts of the repository.

 

 

Enable and disable cache and related cammand

  • php bin/magento cache:enable
  • php bin/magento cache:disable
  • php bin/magento cache:flush
  • php bin/magento cache:clean

 

Manifest Desires-Click Here