Skip to content

Commit 0bf86be

Browse files
committed
Added a max-age to the cache control of /group/groupmenu.ajax, in order to improve local caching.
- Legacy-Id: 9947
1 parent d37aee7 commit 0bf86be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/group/ajax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def group_json(request, acronym):
1616
sort_keys=True, indent=2),
1717
content_type="text/json")
1818

19-
@cache_control(public=True)
19+
@cache_control(public=True, max_age=30*60)
2020
@cache_page(30 * 60)
2121
def group_menu_data(request):
2222
groups = Group.objects.filter(state="active", type__in=("wg", "rg"), parent__state="active").order_by("acronym")

0 commit comments

Comments
 (0)