Skip to content

Commit

Permalink
fix: dont cache dataset metadata (#177)
Browse files Browse the repository at this point in the history
* fix: dont cache dataset metadata

Co-authored-by: Trent Smith <[email protected]>
  • Loading branch information
MDunitz and Bento007 authored Nov 3, 2021
1 parent 2c120b6 commit b4c4471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def get(self, data_adaptor):


class DatasetMetadataAPI(DatasetResource):
@cache_control(public=True, max_age=ONE_WEEK)
@cache_control(no_store=True, max_age=0)
@rest_get_data_adaptor
def get(self, data_adaptor):
return common_rest.dataset_metadata_get(current_app.app_config, data_adaptor)
Expand Down

0 comments on commit b4c4471

Please sign in to comment.