Web Performance: Guides and Practical Know-how | Page 5 | mironsoft Blog
Web Performance
-
Mar 8, 2026
A CSS animation running on the compositor thread cannot be blocked by the JavaScript main thread. Anyone who wants to understand why some animations flow at 60fps while others stutter needs to know the path from CSS property to GPU layer, and when will-change helps instead of hurts.
-
Mar 7, 2026
The Doctrine Second Level Cache reduces repeated database access by keeping hydrated entities in cache across requests. Configured properly with cache regions, concurrency strategies and a Redis adapter, database load drops noticeably without introducing consistency problems.
-
Mar 6, 2026
Interaction to Next Paint punishes every millisecond that passes between a click and a visible reaction. Systematically identifying Long Tasks and resolving them with yielding, the Scheduler API and event handler slimming lowers the INP number not by accident, but through traceable technical interventions.
-
Mar 5, 2026
A single heap snapshot shows only one moment in time, but the three snapshot technique systematically exposes which objects stay in memory despite the garbage collector. Retainer paths show exactly which reference prevents release, turning a vague memory suspicion into a concrete cause in the code.
-
Mar 5, 2026
When a user opens the same web application in several tabs, many background tasks run in parallel without anyone noticing: token refresh, cache building, syncing with the server. The Web Locks API provides an exclusive lock across tabs of the same origin through navigator.locks, letting you coordinate such tasks and reliably prevent duplicate execution.
-
Mar 5, 2026
For a long time the browser cache was a black box. The Cache API gives developers full control over which requests get cached, how long they stay valid, and when they get replaced, independent of HTTP headers and browser heuristics.
-
Mar 4, 2026
The ReactPHP event loop is the heart of every asynchronous PHP application built on React: a single thread that manages timers, watches file descriptors and runs callbacks in a clear order. Anyone who understands the tick cycle, the timer queue and how streams and promises interact writes code that truly does not block, instead of just looking like it does.
-
Mar 4, 2026
The browser's main thread is a shared resource: animations, event handlers and rendering all compete with your business logic. requestIdleCallback resolves this conflict by shifting non-critical tasks into the browser's idle phases, without the user ever noticing.
-
Mar 3, 2026
Reactive programming is solved differently in every modern frontend framework, with incompatible APIs and abstractions hidden behind framework boundaries. The TC39 Signals proposal defines a universal foundation for the first time: Signal, computed, and effect as native JavaScript primitives that frameworks can build on.
-
Mar 2, 2026
useCallback and useMemo are the most frequently misused hooks in React. They always cost something: memory, runtime for the comparison, cognitive complexity, and they only help in specific, measurable situations. Using them everywhere makes an application slower, not faster.