I'm constantly getting this log in my var/debug.log file. I'm quite curious about this. I do not understand what it means.

main.DEBUG: cache_invalidate: {"method":"GET","url":"","invalidateInfo":{"tags":["vendor_payment_gateway_2","FPC"],"mode":"matchingTag"},"is_exception":false} []

I some how figured out that it has some connetions with my model which is as below:

class Createorder extends \Magento\Framework\Model\AbstractModel implements \Magento\Framework\DataObject\IdentityInterface
    const CACHE_TAG = 'vendor_payment_gateway';
    protected $_cacheTag = 'vendor_payment_gateway';
    protected $_eventPrefix = 'vendor_payment_gateway';
    protected function _construct()

    public function getIdentities()
        return [self::CACHE_TAG . '_' . $this->getId()];

    public function getDefaultValues()
        $values = [];

        return $values;

Being a magento developer I must understand what my logs are saying.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.