diff --git a/apps/netflixtop10/netflix_top_10.star b/apps/netflixtop10/netflix_top_10.star index 5381b3c56..b33569f6a 100644 --- a/apps/netflixtop10/netflix_top_10.star +++ b/apps/netflixtop10/netflix_top_10.star @@ -190,12 +190,6 @@ def load_global_table(): return parse_tsv(body) def get_rows_for_display(region, category): - cache_key = "rows-%s-%s" % (region, category) - - val = cache.get(cache_key) - if val != None: - return json.decode(val) - data = load_global_table() if region == "global" else load_countries_table() if data == None: return [{"show_title": "Error loading chart"}] @@ -210,8 +204,6 @@ def get_rows_for_display(region, category): filtered = [row for row in data if matches(row)] rows = sorted(filtered, key = lambda row: int(row["weekly_rank"])) - cache.set(cache_key, json.encode(rows), ttl_seconds = 60 * 60) - return rows def parse_tsv(tsvString):