We all know the importance of caching in web development and how it affects the customer journey on your website. Caching helps to improve the server response and helps you to improve conversion rates...
Custom Cache Type
In cache.xml file we need to pass two parameters i.e. “label” and the “description” this parameters use to display label and the cache description on cache management page i.e. System > Tools > Cache Management...
Upgrade Magento 2
Hello Everyone, Welcome to my blog. First of all for those people who don’t know anything about me please check out this link for more information. If you want to connect with me or want to discuss any specific topic, want to share your view or anything, please feel free to write a comment...
Null Coalescing Operator
PHP 7 brings a new rather handy feature null coalescing operator. This new feature is similar to the ternary operator that we were using in older versions of PHP (PHP 5 & greater)...
Model, Resource Model and Collections
Every model class inherits from Magento\Framework\Model\AbstractModel class, which further extends from \Magento\Framework\DataObject. DataObject class allows us to use some important functions like setData() and getData()...