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

Feature Request | scriptWithInlineFile_min/styleWithInlineFile_min | load script from a URL #144

Open
Azmechatech opened this issue Jan 3, 2020 · 2 comments

Comments

@Azmechatech
Copy link

Is it possible to load Script and CSS and possibly SVG/base64encoded images from a URL before rendering HTML?

@pointbazaar
Copy link
Contributor

As far as I know, this is not possible. You would have to load that beforehand.

Including inline CSS, Script and Images would basically disable any Caching the browser might do with these Resources,
which is why I'm not sure why you are trying to do that.

@jkruse
Copy link

jkruse commented Sep 24, 2020

Inlining static resources makes sense when running j2html outside of a web context.

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

3 participants