News for hackers. Stuff that matters.
Re:Enhance WASM: Back End Agnostic SSR for Web Components by throwitaway1123 on Friday April 12, 2024 @09:11PM (#40019436)
That adds an additional network request.
Re:Enhance WASM: Back End Agnostic SSR for Web Components by niutech on Monday April 15, 2024 @04:43PM (#40045314)
No, the CSS is being requested only once and cached in the browser, subsequent requests are being served from browser cache.
Re:Enhance WASM: Back End Agnostic SSR for Web Components by throwitaway1123 on Monday April 15, 2024 @11:44PM (#40048154)
The browser cache doesn't help on the first visit when the cache is empty, and the cache will also have to be invalidated whenever the component's CSS changes.