tipsy / j2html

Java to HTML generator. Enjoy typesafe HTML generation.

Home Page:https://j2html.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Azmechatech opened this issue · comments

commented

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

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.

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