magda-io / magda

A federated, open-source data catalog for all your big data and small data
https://magda.io
Apache License 2.0
505 stars 92 forks source link

Better Handling Dataset Page Cache At Frontend #3408

Closed t83714 closed 10 months ago

t83714 commented 1 year ago

Better Handling Dataset Page Cache At Frontend

Our gateway will, by default, cache most responses unless the frontend explicitly requests to turn it off:

https://github.com/magda-io/magda/blob/master/deploy/helm/internal-charts/gateway/values.yaml#L200

For performance consideration, we cache most of the dataset pages by default.

As the user's visibility might change while the role changes, the cache could sometimes create confusion.

Although the user can turn off the gateway cache at deployment time via helm chart config, it would be better if we could:

t83714 commented 10 months ago

closed via PR: https://github.com/magda-io/magda/pull/3489