I started using the {% cache %} tag and would like to know what the best practices are:
.
Regarding performance:
For example does it make sense..
- ..to cache the whole template, or is it better to enclose each query separately?
- ..to combine the cache-tag with other supported caches?
- ..to cache non-dynamic content?
.
Regarding development:
I saw the tip to use: {% cache unless craft.config.devMode %}
. Is there anything else to consider during development?