In eCommerce, perhaps the most viewed page is the product listing page (category page). We are trying to minimize the page load time.
In 3.3 -> 3.4, the SubCategories is now cached instead of caching just "whether a category has subcategories". Under our load testing, this has made significant improvement in performance.
I went deep and look further and came up with the following:-
(1) Any reason why we are only caching "whether a category has featured products" (CATEGORY_HAS_FEATURED_PRODUCTS_KEY) instead of caching the actual featured products? Is there any technical implication that I might have overlooked for not doing it? Or simply less priority in the roadmap?
(2) As this page is expected to load heavily by shoppers, can't I just cache the entire CategoryModel so it doesn't need to look up anything from the database? From my load testing, the performance gain is another big leap.
Again, Is there any technical implication that I might have overlooked for not doing it? Or simply less priority in the roadmap?