Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend createStyle so it can create external stylesheet references instead of inline styles #318

Open
timomayer opened this issue May 20, 2020 · 0 comments

Comments

@timomayer
Copy link
Member

Is your feature request related to a problem? Please describe.
Inline styles give great performance when it comes to loading one single page. on a website with many sites it is a problem because css code can not be cached when component is loaded once and profit from improve load time (because of caching) on every next occurance of the component.
insead every html file is quite big (because it contains all inline styles) and every style has to be loaded again and again.

Describe the solution you'd like
make it possible in bio-element to instead render all styles inline load them via @import ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant