Did you notice an issue with inline <link> tags? If you're willing to accept the risks of inline <scrip> tags, I'd just follow the instructions in the link you provided to enable that feature. I'm fairly sure inline <link> tags just work, without any unnecessary changes. Please correct me if I'm wrong.
There's also this guide: https://makandracards.com/makandra/52361-unpoly-loading-large-libraries-on-demand
I'd personally just load everything, all the time, unless it was absolutely enormous. With proper caching, it's likely simpler.
1 reply
Thank you Adam for your quick reply.
When I work in PHP, I usually put tag in the tag but when I load partial I can't do this. So I was asking only for this reason.
Your link seems very useful.
I'd personally just load everything, all the time, unless it was absolutely enormous. With proper caching, it's likely simpler.
I will follow this advice and forget excessive optimization :-).
Thank you very much and have a good day.