These days, various cache types are built directly into Magento 2. How to use caching with a Magento 2 eStoreĭevelopers who have worked with Magento 1 know that on the old platform caching capabilities had to be added through extensions. Unlike public, private is controlled by both the back- and front-end of an application. These personalized requests slow the page load speed if the system is required to fetch this information each and every time. Private: Allows you to cache specific layout blocks of the application that are unique to individual users, like a cart or their name displayed at the top of a page. These don’t change very often, so they can be public and controlled by the store’s backend. Public: Allows you to cache parts of an app that are displayed in the same way for all users. To begin, the platform has two cache types, Public and Private: Magento 2 has plenty of great caching features, but a lack of familiarity with the new system is one of the major contributors to slow online stores. The result – quicker response times and improved site performance. Proxies cache relevant assets and store them in their own systems, which means all subsequent requests for those particular assets no longer need to be sent to your server. And servers become overloaded, resulting in poor performance, a slow eCommerce store and irritated visitors. That would be fine if just one page was being requested, but if you multiply these requests by potentially thousands of visitors at once, you’re looking at serious delays. Your web server receives a large number of requests for assets on each web page, like CSS, JavaScript, images and HTML. Why Magento 2 stores are having performance issues Before joining Shoppimon I had the chance to work as part of the team at Magento responsible for building Magento 2 cache features, and while many theories have been tossed around, I can almost guarantee that the cause of your eCommerce store’s speed trouble is how you’re utilizing the platform’s caching abilities. In the months following Magento 2’s initial release, there have been numerous reports that the platform is slower than expected.
0 Comments
Leave a Reply. |