When using the {% cache %}
tag on an entry type, it caches the first entry on the page (multiple pages as well), and uses the cached entry for every other instance of that entry type on the page. What am I doing wrong? Here's an example. This one isn't complex so not sure it's worth caching, but I have some entries that have multiple relational fields.
{% for block in entry.contentMatrix %}
{% if block.type == "copyOneCol" %}
{% cache %}
.... output entry type data
{% endcache %}
...next if, etc.
{% endfor %}
{% cache using key block.id %}
and that is tentatively working, giving each section it's own cache (I'm assuming). Is this the best way to do this?