I am building an application that intentionally uses as little as possible of javascript and CSS (no live views), so it makes sense to inline the javascript and CSS
How does it make sense? Even little browser caching is better than nothing.
1 Like
I am assuming (not confirmed yet) that the size of JS/CSS will be much smaller than HTML
Probably you are right, but the question still stands
The HTML is generated by yourself. Instead of adding a <link> you can make it inline the contents of esbuild and tailwind. You can even load the files at compile time and remove the need for them to be in priv/. It’s all in your hands really, just needs a bit of care for order of operations.






















