DEV Community

Discussion on: 🧠 A New React and the Old Cache

Collapse
 
revskill10 profile image
Truong Hoang Dung

As the old quote said: "There're two things that are hard in Computer Science, it's naming and cache invalidation".

Caching is not hard.
Invalidate cache is hard.

Collapse
 
thekashey profile image
Anton Korzunov

Not only invalidation. Let imagine - you don't have a cached value, so you have generate it. Obviously, that decision would be made in 10 threads at 10 servers simultaneously :)

Cache invalidation is not a real problem - cache management, oh dear, is.