Video Lesson: Cleaning & flushing caches in Magento

Cleaning & flushing caches in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

Cleaning & flushing caches in Magento

Learn how to clean and flush Magento cache with bin/magento cache clean and cache flush commands.

Lesson Content

Once a cache is enabled and entries start to be stored, theyโ€™ll eventually reach a point where those entries become stale.

You can clear out entries related to a specific cache type by running:

bin/magento cache:clean name_of_cache

This removes all cache entries related to that specific cache type, and just like enabling or disabling a cache, you can specify multiple cache types.

For example, if you want to clear all โ€œlayoutโ€ entries from the cache, run:

bin/magento cache:clean layout

Sometimes cache:clean wonโ€™t completely purge a specific cache....

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! ๐Ÿ‘‹

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Comments

Want to comment on this lesson?

Enroll in this course to leave comments.