Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does magento store its cached images?

I know that magento resizes the original product images and caches it multiple times with different sizes according to its need.

  1. Where are those chached images stored (path)?
  2. Are they the ones that will get deleted when you flush image cache from cache management?
  3. If I were to manually cache some images, where would I have to put them in order for them to get deleted when you clear cache from cache management?

Thanks :)

like image 528
Andrei Cristian Prodan Avatar asked Mar 14 '13 09:03

Andrei Cristian Prodan


People also ask

Where does Magento store cache?

Magento stores the hashed data version in Redis, with the suffix ':hash' appended to the regular key. In case of an outdated local cache, the data is transferred to the local machine with a cache adapter.

Where is cache folder in Magento 2?

Magento 2 cache is in the var/cache directory off the store root with the settings located under System -> Cache Management.

How does Magento cache work?

Magento collects configuration from all modules, merges it, and saves the merged result to the cache. This cache also contains store-specific settings stored in the file system and database. Clean or flush this cache type after modifying configuration files.

What happens when you flush Magento cache?

Flush Cache StorageRefreshes the cache of all Magento stores, regardless of Commerce tag. All Magento stores sharing the cache storage will have cleared the cache. The cached files used by other applications are removed in the process. It may affect other processes that run the same cache storage.


1 Answers

  1. All cached images saved in BaseUrl/media/catalog/product/cache folder

  2. Yes

  3. Checkout the BaseUrl/media/catalog/product/cache folder you will get your answer

like image 95
MagentoDiary Avatar answered Oct 23 '22 22:10

MagentoDiary