2 ms·
Here's another approach: https://www.filamentgroup.com/lab/html-includes/ https://www.filamentgroup.com/lab/html-includes/ <iframe src="/images/includespos
by petercooper 7y ago
Here's another approach: https://www.filamentgroup.com/lab/html-includes/ https://www.filamentgroup.com/lab/html-includes/
<iframe src="/images/includespost/htmlexample.html" onload="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove()"></iframe>
Given that Googlebot will render and use JavaScript now, I'd be intrigued as to whether this works with it, but client side it seems OK.
- DrScientist 7y agohttps://github.com/jakearchibald/streaming-include/blob/master/research.md https://github.com/jakearchibald/streaming-include/blob/mast... Also lists alternatives - see how whatwg request is bogged down in what/if complexity.