Page 25 - Monthly Archives: April 2025
-
Maxim Mironjuk
-
April 01, 2025
SearchCriteria queries, collection filters and EAV attributes are the three most common data access patterns in Magento, and at the same time the three most common places where tests are either missing or structured incorrectly. This article shows which test type fits which access pattern and how to secure each one correctly.
-
Maxim Mironjuk
-
April 01, 2025
A fixed path like /tmp/script.tmp in a shell script is an open invitation for race conditions, data leaks, and symlink attacks. mktemp guarantees unique, safe temporary files, and trap EXIT ensures they get cleaned up in every termination scenario.
-
Maxim Mironjuk
-
April 01, 2025
An image that loads after the rest of the layout has settled pushes visible content around and hurts the Cumulative Layout Shift score. React Suspense lets you deliberately hold back rendering an image component until the file is actually sitting in the browser cache. This article shows a custom preload pattern built on promise wrapping, including caching, error handling, and the limits of the approach.
-
Maxim Mironjuk
-
April 01, 2025
Large Magento stores accumulate thousands of category, product, and blog pages over the years, many of which quietly lose relevance and visibility without anyone noticing. A systematic content audit combines an inventory, performance data from Search Console and Analytics, and a structured quality assessment to reliably identify underperforming pages and act on them with a clear prune, improve, keep decision framework.
-