New answers tagged

0 votes
Accepted

Customizing product listings cache in Magento 2 based on cookie value for unlogged customers

I got it. Magento uses the Magento\Framework\App\PageCache\Identifier::getValue method to get the page cache ID. The value from the X-Magento-Vary cookie is taken from there to distinguish the cache, ...
Estern's user avatar
  • 1
0 votes

Magento media cache url

The hash is computed in \Magento\Catalog\Model\View\Asset\Image::getMiscPath and is based on the following parameters:
Simon's user avatar
  • 5,685
0 votes

Magento 2 : How to clear cache using REST?

Some time ago, I wrote this module https://github.com/tevtex/module-cachemanagement You can enable/disable/clean/flush caches using API. You can find the installation instructions on the github.
Ahmad's user avatar
  • 638

Top 50 recent answers are included