You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I prevent the hx-trigger when the page is loaded from browser cache?
I have a page where i lazy-load certain elements, this works well but when i navigate to a new route(with hx-push-url="true") and go back, those elements are reloaded even though they were already loaded from cache.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I prevent the hx-trigger when the page is loaded from browser cache?
I have a page where i lazy-load certain elements, this works well but when i navigate to a new route(with hx-push-url="true") and go back, those elements are reloaded even though they were already loaded from cache.
Beta Was this translation helpful? Give feedback.
All reactions