mysterious-toddler-20573
09/11/2022, 6:20 PMwonderful-shampoo-13605
09/11/2022, 7:21 PMbland-coat-6833
09/11/2022, 7:24 PMhtml
<tbody id="mailbox" hx-sse="swap:new_mail" hx-swap="afterbegin">
So that’s what I do on the target element.bland-coat-6833
09/11/2022, 7:26 PMhtml
<table class="dt mt4" hx-sse="connect:/newmail/{{ mailbox }}/">
bland-coat-6833
09/11/2022, 7:26 PMwonderful-shampoo-13605
09/11/2022, 7:26 PMbland-coat-6833
09/11/2022, 7:27 PMwonderful-shampoo-13605
09/11/2022, 7:32 PMsse
response is a "thing" that I can control with hx-swap, I just didn't think about it that waybland-coat-6833
09/11/2022, 7:32 PMancient-shoe-86801
09/11/2022, 8:10 PMancient-shoe-86801
09/11/2022, 8:14 PMHX-Request
header) that triggers a 304 loaded the partial version of the HTML, cached from a previous request with HX-Request: true
ancient-shoe-86801
09/11/2022, 8:23 PMancient-shoe-86801
09/11/2022, 8:39 PMmysterious-toddler-20573
09/11/2022, 8:47 PMmysterious-toddler-20573
09/11/2022, 8:47 PMmysterious-toddler-20573
09/11/2022, 8:47 PMancient-shoe-86801
09/11/2022, 8:47 PMmysterious-toddler-20573
09/11/2022, 8:47 PMancient-shoe-86801
09/11/2022, 8:51 PMancient-shoe-86801
09/11/2022, 8:51 PMancient-shoe-86801
09/11/2022, 8:57 PMVary: HX-Request
to my test, but it keeps caching the wrong response 🤔ancient-shoe-86801
09/11/2022, 8:58 PMancient-shoe-86801
09/11/2022, 8:58 PMmysterious-toddler-20573
09/11/2022, 9:00 PMgorgeous-airport-54386
09/11/2022, 9:00 PMancient-shoe-86801
09/11/2022, 9:04 PMancient-shoe-86801
09/11/2022, 9:05 PMancient-shoe-86801
09/11/2022, 9:06 PMancient-shoe-86801
09/11/2022, 9:13 PMancient-shoe-86801
09/11/2022, 9:18 PM