{% load cache %} {% load filters %} {% cache 86400 diff version.cache_key %} {% for item in version.diff %} {% endfor %} {% endcache %}