I'm using PictureFill on a large page, containing many image transforms, that doesn't seem to be caching despite most of the page being wrapped in {% cache %}
tags. When I view the page after several refreshes with Dev Mode enabled, the Profiling Summary Report is reporting Total Queries
at 174, and the HTML source still contains many examples of image urls that contain something like /cpresources/transforms/XX
.
I read in this answer that Craft won't cache a page with unresolved transforms, which might explain why this page isn't being cached. But then the question is, why aren't these transforms resolving?
data-src
attribute and PictureFill loads them asynchronously after the initial page load. Here's a snippet for reference: gist.github.com/cmalven/202027816afb2604e302