Skip to content

Commit

Permalink
Revert "max-age = hour"
Browse files Browse the repository at this point in the history
This reverts commit ea8e83e.
  • Loading branch information
nsantacruz committed Mar 22, 2022
1 parent 1789652 commit 136aa33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sefaria/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,7 @@ def linker_js(request, linker_version=None):
+ model.library.citing_title_list("he"), ensure_ascii=False)
}

response = render(request, linker_link, attrs, content_type = "text/javascript; charset=utf-8")
response["Cache-Control"] = 'max-age=3600'
return response
return render(request, linker_link, attrs, content_type = "text/javascript; charset=utf-8")


def linker_data_api(request, titles):
Expand Down

0 comments on commit 136aa33

Please sign in to comment.