Closed eroux closed 5 years ago
In which case this feature would be used (and triggered) ? Assuming the rule that a new or modified query can only be made available through "lds-queries" git repo, we shouldn't need to build such a mechanism (because any push to lds-queries triggers a webhook that updates ldspdi local queries repo and clears the ldspdi queries cache). Furthermore, we can always use "/callbacks/github/lds-queries" to clear the cache.
that's a good idea yes, for queries that will be enough I think... will it also cleat the cache for resources?
Fixed, "/callbacks/github/lds-queries" is now clearing Results cache in addition to clearing query templates cache.
ok, thanks!
There should be a way to refresh the internal jcs cache for a query, maybe by having a special http header specifying that