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
this.swup.navigate(action+hash,params,{ el, event });
This makes sense for most cases (search, contact forms, ...), but in other cases the cache might actually be useful. One example where I ran into this problem is a list that can be filtered by submitting a form:
Describe the problem 馃
Currently, forms-plugin will always delete the cache of the target page before navigating towards it:
forms-plugin/src/index.ts
Lines 178 to 179 in 43d235c
This makes sense for most cases (search, contact forms, ...), but in other cases the cache might actually be useful. One example where I ran into this problem is a list that can be filtered by submitting a form:
Describe the propsed solution 馃槑
I'd like to make the cache controllable via the
visit
object. To reproduce the current behavior, this instantiation would make sense:That way, the consumer could decide if the request should make use of the cache or not (default: no cache):
...or simply this if all requests should be cached:
Alternatives considered 馃
Not really an alternative that comes to mind. An attribute just for this would be pretty convoluted.
How important is this feature to you? 馃Л
Would make my life a lot easier
Checked all these? 馃摎
The text was updated successfully, but these errors were encountered: