I'm not sure what is the cause for this page rendering so slow. I thought it was the image transforms but I've removed them and still it's really slow to render.
Page in question: http://dharmaavenue.net/e-drops
From the profiling report:
Time: 64.61081s
Memory: 461,289Kb
Total Queries: 52
As you can see it's just a simple nav menu. Here is the code:
{% block content %}
{% set eDrops = craft.entries.section('eDrops') %}
<nav id="linksBrowser" class= "ladder tree">
<ul>
{% nav entry in eDrops %}
<li>
{% if entry.slides|length %}
{#
{% set image = entry.slides.first() %}
#}
<a href="{{ entry.url }}"> {{ entry.title }} >
{#
<img src="{{ image.getUrl('fitThumb') }}"
width= "{{ image.getWidth('fitThumb') }}"
height= "{{ image.getHeight('fitThumb') }}"/>
#}
</a>
{% else %}
<span class="linkAnchor">{{ entry.title }}</span>
{% endif %}
{% ifchildren %}
<ul>
{% children %}
</ul>
{% endifchildren %}
</li>
{% endnav %}
</ul>
</nav>
{% endblock %}
The entries are basically individual gallerys with many images in the slides field. I'm guessing that all the details of these are being fetched unecessarily, and that stopping this from happenign will solve my problem.
If anyone can help me with this it would be most greatful :)