~dmbaturin/soupault

2 2

plugins for htmx boost and preload

Raphaël Bauduin <rb@raphinou.com>
Details
Message ID
<1d1f919d-1cd5-44f0-9d1e-b6cc0f114c97@raphinou.com>
DKIM signature
missing
Download raw message
Hi,

I wrote 2 plugins to easily use htmx boost and preload with soupault.
The plugins are at 
https://gitlab.com/rbauduin/soupault-plugins/-/tree/master and I blogged 
about it at 
https://www.yvesdennels.com/posts/supercharging_static_site_with_htmx_soupault/
I thought you might be interested to hear about it ;-)

Cheers
Details
Message ID
<B8FE832D-3894-46E2-AAFF-0029CF7FBD2F@posteo.net>
In-Reply-To
<1d1f919d-1cd5-44f0-9d1e-b6cc0f114c97@raphinou.com> (view parent)
DKIM signature
missing
Download raw message
> soupauld --init

Typo.

> CDN

You’ll want to vendor that code <https://httptoolkit.com/blog/public-cdn-risks/>

> mousedown

click triggers on touchscreens, but does mousdown?

---

Interesting use case. I’d thought about looking into something like this before, but  didn’t spend any time exploring so it’s cool to see someone go thru with the idea!

Will we see “Part II: simplifying our build by just using Soupault”? ;P
Details
Message ID
<1fc2d02f8146a4a19894874abd2959c6@raphinou.com>
In-Reply-To
<B8FE832D-3894-46E2-AAFF-0029CF7FBD2F@posteo.net> (view parent)
DKIM signature
missing
Download raw message
Thanks for the feedback!

> Typo.
Fixed.
> 
> You’ll want to vendor that code 
> <https://httptoolkit.com/blog/public-cdn-risks/>

Added integrity check + possibility to vendor it. Post updated and 
should be deployed very soon.

> 
>> mousedown
> 
> click triggers on touchscreens, but does mousdown?

 From the htmx preload page:
To accommodate touchscreen devices, an additional ontouchstart event 
handler is added whenever you specify a mouseover or mousedown trigger.

> Will we see “Part II: simplifying our build by just using Soupault”? ;P

That's very possible, as I'm currently finishing a website wholy managed 
with soupault ;-)
Reply to thread Export thread (mbox)