Closed FantasyTeddy closed 1 year ago
Nudge @khalidabuhakmeh
I guess I've been using the term interchangeably, but there seems to be a distinction. You are correct. Thanks for teaching me something.
Thank you for confirming. I'm glad I did not misinterpret something :)
Hi, I'm currently reading through the excellent HTMX for ASP.NET Core Developers tutorial and I'm a little bit confused about the term "long-polling" in the Long-Polling to get recent updates chapter.
My understanding of long-polling is, that it does not require constant client-side polling (as in the tutorial example), but allows the server to delay its response until something "interesting" happens.
For the provided stock value example, I would have expected the following:
hx-trigger
should be (close to) immediate.Is my understanding of long-polling wrong, or is the example just "polling"?