perf(render): Don't set context.no_cache

This commit is contained in:
Aditya Hase 2020-10-27 22:41:45 +05:30
parent cae6e80c19
commit e6aabf346c
No known key found for this signature in database
GPG key ID: 0A55F0FCA0234972

View file

@ -394,7 +394,6 @@ def load_properties_from_source(page_info):
and "</body>" not in page_info.source):
page_info.source = '''{{% extends "{0}" %}}
{{% block page_content %}}{1}{{% endblock %}}'''.format(page_info.base_template, page_info.source)
page_info.no_cache = 1
if "<!-- no-breadcrumbs -->" in page_info.source:
page_info.no_breadcrumbs = 1