gorgeous-ghost-95789
12/24/2020, 3:34 AMonload
handler that called other extensions, and handled response headers.gorgeous-ghost-95789
12/24/2020, 3:35 AMVary
Header to change that. As an example, I usually use Vary:Authentication
mysterious-toddler-20573
12/24/2020, 3:36 AMmysterious-toddler-20573
12/24/2020, 3:36 AMmysterious-toddler-20573
12/24/2020, 3:36 AMgorgeous-ghost-95789
12/24/2020, 3:36 AMmysterious-toddler-20573
12/24/2020, 3:36 AMmysterious-toddler-20573
12/24/2020, 3:37 AMmysterious-toddler-20573
12/24/2020, 3:37 AMgorgeous-ghost-95789
12/24/2020, 3:37 AMmysterious-toddler-20573
12/24/2020, 3:37 AMgorgeous-ghost-95789
12/24/2020, 3:37 AMmysterious-toddler-20573
12/24/2020, 3:38 AMgorgeous-ghost-95789
12/24/2020, 3:38 AMgorgeous-ghost-95789
12/24/2020, 3:39 AMsalmon-xylophone-28580
12/24/2020, 6:43 AMmysterious-toddler-20573
12/24/2020, 1:04 PMhtmx.ajax
API method (still need to document it)
* I removed some headers that would vary between requests. They were speculative and not a crux feature, and people can add then back via hyperscript or whatever if they want themmysterious-toddler-20573
12/24/2020, 1:07 PMjs
htmx.ajax("GET", whateverThePathIs,
{source:theElement,
handler:function(){/* do nothing, allow response to cache */ })
mysterious-toddler-20573
12/24/2020, 1:09 PMjs
htmx.ajax("GET", "/whatever", "#foo")
mysterious-toddler-20573
12/24/2020, 1:37 PMgorgeous-ghost-95789
12/24/2020, 9:57 PMgorgeous-ghost-95789
12/24/2020, 9:58 PMmysterious-toddler-20573
12/24/2020, 11:33 PMuser
12/25/2020, 7:45 AMuser
12/25/2020, 8:23 AMuser
12/25/2020, 9:08 AMhtmx-request
class to the current element parent. Otherwise if I have multiple loading elements on a page, they all start spinninggorgeous-ghost-95789
12/25/2020, 6:13 PMgorgeous-ghost-95789
12/25/2020, 6:15 PMgorgeous-ghost-95789
12/25/2020, 6:16 PMsalmon-xylophone-28580
12/25/2020, 8:23 PM