Skip to content

JSON API caching #81

Mar 18, 2021 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

Hey, and thanks for using the JSON plugin!

  • Issue 1: Currently, the cache key is the URL in the data source config and the Path from the query editor. I don't believe there should be any issues with adding the query parameters to the cache key as well. Could you submit an issue for this?
  • Issue 2: I'm not sure I understand what you would like to see here. If the base URL + path is the same for all the queries, they will get the same (cached) response. Assuming they differ in query params, this should work as intended if we add query params to the cache key.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@mikeymclellan
Comment options

@mikeymclellan
Comment options

@mikeymclellan
Comment options

Answer selected by marcusolsson
Comment options

You must be logged in to vote
1 reply
@yesoreyeram
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants