-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back / Foward Browser buttons loading HTMX partial content only #1201
Comments
I'm experiencing the same issue. |
Hi @helixaros @Frohus , Can you confirm this issue is gone with latest 1.8.5? 613f7b6 appears to fix it with a configurable (disabled by default) cache-busting query-param. |
@David-Guillot just checked, it's still present |
You should be able to fix this with a cache busting option as of 1.8.5, but you will need to configure it. See the documentation here for dealing with this issue: |
tl;dr: <script>htmx.config.getCacheBusterParam = true</script> Can just be in your |
Hi there,
I have a url "/settings/users/" where it loads the list of users along with some filtering /searching functionality.
When a user is added on the list / removed I have an HX-Trigger, and the list is rerendered (only the list not the whole page).
If I press the back / forward button (with the previous step being adding / removing a user from the list), then it loads only the partial (doesn't load the full page), and therefore the page breaks (as js / css is not loaded). Example attached. I have seen some discussions happening around this topic, but I am not sure of the resolution that I should take to fix this issue.
Thank you in advance.
The text was updated successfully, but these errors were encountered: