o0101 / good.html

💎 Good.HTML. A nice framework without the bad stuff. Lots of custom elements, and nice templates. Good. HTML
https://o0101.github.io/good.html/
MIT License
21 stars 2 forks source link

let's cache imported styles #49

Open o0101 opened 2 years ago

o0101 commented 2 years ago

everytime we render a component we need to bring its stylesheet in (at least if it's a first time render). We should cache stylesheet URLs in a global cache.

o0101 commented 2 years ago

we are caching styles. but it's the CSS import that delays the load as this is not cached.

why don't we read any style sheets for imports and cache and inline those?