Skip to content
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

Client decides on Uncached/Cached query and update #506

Open
kzangeli opened this issue Aug 8, 2014 · 0 comments
Open

Client decides on Uncached/Cached query and update #506

kzangeli opened this issue Aug 8, 2014 · 0 comments

Comments

@kzangeli
Copy link
Member

kzangeli commented Aug 8, 2014

Description

The new (as of August 2014) redirecting implementation makes all query/update ngsi10 requests a bit more accurate but also a bit slower (as providing applications are consulted - see issue #503).

Now, it would be nice to let the client decide the behavior of the broker, for example with a URL parameter.
The default would be this 'improved' behavior, but for a client that cares more about speed than about accuracy, it could be nice to be able to switch back to the previous behavior (using only the brokers local data and not contacting context providers for more accuracy).

This new URL parameter could be like this:

'cache=on'
'speed=true'
'consultProviders=false'
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant