File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ def get_max_age(headers):
7171 if expire_header is not None :
7272 m = re .match ("max-age=(\d+)" , expire_header )
7373 if m :
74- # The Prismic API is sending very high expeiery times (10 years) for articles, which
75- # makes it seem like it's using milliseconds rather than seconds. Some caching libraries
76- # (including AppEngine Memcache) sees this 10 year value as an error and refuses to
77- # store or retreive the cached value
74+ # The Prismic API is sending very high expiry times (10 years) for articles, which
75+ # makes it seem like it's using milliseconds rather than seconds. Some caching
76+ # libraries (including AppEngine Memcache) sees this 10 year value as an error and
77+ # refuses to store or retrieve the cached value
7878 return int (m .group (1 )) / 1000
7979 return None
You can’t perform that action at this time.
0 commit comments