Merged in [9303] from rjsparks@nostrum.com:
Cache the wg-charter*txt pages for a time since they are very heavy to generate.
- Legacy-Id: 9304
Note: SVN reference [9303] has been migrated to Git commit 33c9483749
This commit is contained in:
commit
a9e249e678
|
@ -153,6 +153,7 @@ def fill_in_wg_drafts(group):
|
|||
a.rel = RelatedDocument.objects.filter(source=a.document).distinct()
|
||||
a.invrel = RelatedDocument.objects.filter(target=a).distinct()
|
||||
|
||||
@cache_page ( 60 * 60 )
|
||||
def wg_charters(request, group_type):
|
||||
if group_type != "wg":
|
||||
raise Http404
|
||||
|
@ -169,6 +170,7 @@ def wg_charters(request, group_type):
|
|||
{ 'areas': areas },
|
||||
content_type='text/plain; charset=UTF-8')
|
||||
|
||||
@cache_page ( 60 * 60 )
|
||||
def wg_charters_by_acronym(request, group_type):
|
||||
if group_type != "wg":
|
||||
raise Http404
|
||||
|
|
Loading…
Reference in a new issue