-
Notifications
You must be signed in to change notification settings - Fork 37
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
"strategy=always" does not trigger brand new request #92
Comments
Does your problem persist with the new version? |
upgrading to latest version shows me the following error:
|
Not working for me either, causing major issues, any ideas on a fix |
The reason this is an issue is it you have a list view that has different populated fields to the edit view it seems to break the population if you go back to edit the same item. The only way they stay in sync is by populating the find and get requests with the same fields, but I don't want to do that. |
Does anyone have a work around for this issue. It's causing me some issues and I'd prefer not to have find an alternative. |
Seems like a caching issue to me. @daffl I think baking caching right into the plugin wasn't exactly the best of ideas |
Maybe caching should just be disable for always. As the docs state
so in this case caching doesn't make sense as you want the fresh data from the server. |
it DOES get new data from the server when an event occured. It just doesn't request new data when you subscribe twice with the same query. Making caching configurable shouldn't be too much work. PRs welcome ;) |
Would it be as simple as adding say
|
To disable caching on your local version change I think we'd need to figure out the API for a user provided cache, most likely some kind of object with |
Does anyone have a work around for this? |
Please create a new issue with an example to reproduce. |
How could I trigger brand new request every time I use service.find?
strategy=always
does not work, andlistStrategy=always
does not work either. There is still no http request in my browser console. So what's the difference betweenstrategy
andlistStrategy
? (I see them both in README.md). Which one fulfill my purpose? Following is my code:The text was updated successfully, but these errors were encountered: