Skip to content

Commit 1b63b48

Browse files
authored
Update 8. Demonstrate the ability to manage the cache.md
1 parent 2c6196a commit 1b63b48

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

1. Magento Architecture and Customization Techniques/8. Demonstrate the ability to manage the cache.md

+13
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,19 @@ module-cache-invalidate observer `clean_cache_after_reindex`
110110

111111
How would you clean the cache? In which case would you refresh cache/flash cache storage?
112112

113+
> To purge out-of-date items from the cache, you can clean or flush cache types:
114+
>
115+
> - Cleaning a cache type deletes all items from enabled Magento cache types only. In other words, this option does not affect other processes or applications because it cleans only the cache that Magento uses.
116+
>
117+
> Disabled cache types are not cleaned.
118+
>
119+
> - Flushing a cache type purges the cache storage, which might affect other processes applications that are using the same storage.
120+
>
121+
> Flush cache types if you’ve already tried cleaning the cache and you’re still having issues that you cannot isolate.
122+
>
123+
> -- [Magento DevDocs - Manage the cache](https://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-cache.html#config-cli-subcommands-cache-clean-over)
124+
125+
Sessions and caching data should never be stored in one database in Redis. In that case you'll not have problems with flushing the cache.
113126

114127
### Describe how to clear the cache programmatically.
115128

0 commit comments

Comments
 (0)