Cache tag won’t cache in a template The image tag shown below prevents my {% cache %} tag from caching the loop it's in. If I remove the image tag or change the data-resource attribut to a normal src, it works fine. The class="lazy" and data-original are from the jQuery plugin Lazy Load 1.9.3. Regardless, the page still renders fine. Does anyone have any ideas what's wrong?

Thank you for your help for a first-time poster.

&lt;img class="lazy" data-original="{{ image.getUrl(transform) }}" alt="{{ project.title }}" /&gt;


EDIT: Now showing just the code that seems to be the problem rather than the whole loop.
The {% cache %} tag will detect if there are any ungenerated image transforms within it. If there are, it will hold off on caching the template until the next request, so that the temporary image URL won’t get cached.