We created a news site and must cash the navigation menu using Redis. Place the template lines in the correct order so that only the navigation menu will be cached (the rest of the page should be displayed below the menu):
Redis basics
Templates caching
Report a typo
Put the items in the correct order
navigation menu code
{% cache 1200 menu %}page code
{% load cache %}{% endcache %} ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.