12/9/2023 0 Comments Magento 2 set private cache![]() ![]() ![]() This means you can serve more requests per second by using your cache. content from a database), cache is faster than hitting your main web server. For most pages containing dynamic content (e.g. It was not long before people realized that as well as caching in a web browser, caching is also useful at the server side as the same request might come from different users. So one page for a customer may be the result of many HTTP requests, and each returned asset might have different caching requirements. ![]() It is also true for all the JavaScript and CSS files on a page. This is also true for images on a page (each image typically triggers a separate HTTP request). This allows a web browser to save a copy of the page so if the user comes back later, the page does not have to be downloaded again. A HTTP GET request to fetch a page has headers that say how long a returned page can be trusted as being up-to-date. This post provides a high level summary of the new caching strategy.įirst, a quick summary of the basics of HTTP caching. Yes, caching was mentioned first! Magento 2 has included a lot of changes from Magento 1 to improve its built in support for caching, making it easier to deploy caching and take some the complexity out of caching for developers. A famous quote however is “ There are only two hard things in Computer Science: cache invalidation and naming things” – Phil Karlton. Web accelerators (caching) can make a Magento installation deliver a more responsive user experience with less hardware. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |