Re:Rust needs a web framework for lazy developers
by nopeYouAreWrong on Sunday October 06, 2024 @11:00PM
(#41762396)
why are you fealung with cache at all in a wrb context? that's what CDNs are for.
[ Parent
| on HN ]
Re:Rust needs a web framework for lazy developers
by googledocsftw on Monday October 07, 2024 @02:37AM
(#41763334)
React, like Haskell creates new problems you need sophisticated solutions for.
CDN is for content. Useless for say a Google search type problem. So I call an API endpoint for data in my component. But what if I get rendered 600 times? Well luckily I have memoized the call! As long as it was under 2Mb that is.