Varnish cache and built-in cache are both caching solutions that can be used to improve the performance of Magento 2 websites. However, there are some key differences between the two. Varnish cache is a reverse proxy server that sits in front of your Magento 2 website and caches static content, such as HTML, CSS, and… Continue reading How does Varnish cache in Magento 2 differ from the default built-in cache mechanism?
Author: Arun T
What is Magento 2’s flat catalog feature and how to enable it?
Flat catalog is a feature in Magento 2 that can improve the performance of your online store by optimizing the way product data is stored and retrieved from the database. In traditional EAV (Entity-Attribute-Value) database structure, product data is stored across multiple database tables, which can result in slower database queries when retrieving product information.… Continue reading What is Magento 2’s flat catalog feature and how to enable it?
Proposal For APPIN TFS website’s server high performance issue verification and Freight issue fix
Proposal SummaryTo verify the TFS website’s server high performance issue and its fix. Also theverification of freight issue on cart and checkout page and its fix.Requirement• The TFS website’s server high performance issue verifications and its fix.• The verification and fix of freight issue on the cart and checkout page.Deliverables• We are planning to conduct… Continue reading Proposal For APPIN TFS website’s server high performance issue verification and Freight issue fix
DB schema method in Magento2
DB schema method is used to create tables or columns inside a table. create dbschema.xml inside app/code/vendor/module/etc/ It will create a table named declarative_table. Thank you.
How do call the quote subtotal inside a custom shipping method?
To call the quote total inside a custom shipping method On the collect function public function collect( \Magento\Quote\Model\Quote\Address\Total $total ) { parent::collect($quote, $shippingAssignment, $total); $orderTotal = $total->getSubtotal(); } Thank you.
Block IP or bots in the Cloudways server
Block the IP on Htaccess file <Limit GET POST>order allow,denydeny from 46.228.47.114deny from 46.225.88.5allow from all</Limit> Block bots using the Htacess file with name RewriteCond %{HTTP_USER_AGENT} Mj12bot [NC]RewriteCond %{HTTP_USER_AGENT} Dotbot [NC] Thank you.
Section Source in Magento2
The section source class is responsible for retrieving data for the section. As a best practice, we recommend that you put your code within the Vendor/ModuleName/CustomerData namespace. Your classes must implement the Magento\Customer\CustomerData\SectionSourceInterface interface. The public method getSectionData must return an array with data for a private block. <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Customer:etc/sections.xsd”> <action name=”customer/account/editPost”> <section name=”*”/> </action> </config> Eg: <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Customer:etc/sections.xsd”>… Continue reading Section Source in Magento2
Varnish, Redis, and Memcached in Magento2
For Magento to perform well, you’ll need Redis and Varnish. Redis is a distributed key-value store that is used to cache information coming from the database Varnish is a reverse caching proxy that is used to cache entire pages Memcached, it performs the same role as Redis. Memcached is the predecessor of Redis and Redis… Continue reading Varnish, Redis, and Memcached in Magento2
Different layers in Magento2 Module architecture
Magento 2 Architecture can be divided into the following layers: Presentation layer Service layer Domain layer Persistence layer Thank you.
How to integrate Zoominfo with Magento?
Integrating ZoomInfo with Magento would typically involve leveraging ZoomInfo’s API to access and retrieve relevant data from ZoomInfo’s database and then incorporating that data into your Magento store or CRM system. As of my last update in September 2021, there was no official or pre-built integration between ZoomInfo and Magento. However, you can still create… Continue reading How to integrate Zoominfo with Magento?