j2html icon indicating copy to clipboard operation
j2html copied to clipboard

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

Open Azmechatech opened this issue 6 years ago • 2 comments

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

Azmechatech avatar Jan 03 '20 12:01 Azmechatech

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.

pointbazaar avatar Aug 30 '20 21:08 pointbazaar

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

jkruse avatar Sep 24 '20 13:09 jkruse