-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cache page content, not page menus #5170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to close your {% cache... %}
tags (though maybe they work without that??)
Edit: no, the tests failed b/c of that, so they're needed.
{% block pagehead %} | ||
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}"> | ||
{% endblock %} | ||
{% block title %}Past Meetings{% endblock %} | ||
{% block content %} | ||
{% cache 3600 pastmeetings %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs {% endcache %}
{% block title %}IETF {{ meeting.number }} Proceedings - Progress Report{% endblock %} | ||
{% block content %} | ||
{% cache 3600 proceedings_progress_report meeting.number %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs {% endcache %}
D'oh |
Codecov Report
@@ Coverage Diff @@
## main #5170 +/- ##
=======================================
Coverage 88.54% 88.54%
=======================================
Files 295 295
Lines 40046 40048 +2
=======================================
+ Hits 35458 35460 +2
Misses 4588 4588
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
No description provided.