I have a site with a number of big archives for blogs, publications, events and press releases. Each of these have over 200 posts which have been imported from an old evo site to a newly built site in Revolution 2.2.6 and each uses smart new Articles containers which are great for site admins.
The beta site is:
http://www3.centreforcities.org/
The site has a number of getResources calls to list blog posts etc. The result is limited to the 12 most recent posts and mostly they look like this one from the homepage:
[[getResources?
&tpl=`blog_widget_tpl`
&parents=`37`
&limit=`10`
&includeContent=`1`
&includeTVs=`1`
&showHidden=`1`
&hideContainers=`1`
&depth=`1`
&tvPrefix=``
&sortby=`{"publishedon":"DESC","createdon":"DESC"}`
]]
The template these uses look like this:
<li class="blog-preview">
<div class="clearfix"></div>
<div class="left">
<a href="[[~[[+id]]]]">
<h4>[[+pagetitle:ellipsis=`80`]]</h4>
</a>
<a href="[[~[[+id]]]]" class="b-more">Read more</a>
</div>
<a href="[[~[[+id]]]]"><img src="[[+slide-image:default=`[[+thumbnail]]`]]" class="right post-img" /></a>
<div class="clearfix"></div>
</li>
The first time one of these loads it executes in 4.9891 s
After caching this takes about a tenth of this time.
Having two or more of these calls on one page push the inicial page loads over 15s.
Is there any way to speed up these inicial calls by reducing the number of resources it searched through or pre-caching the getResources result? I am hesitant to move away from the Articles setup to break the articles down by year for instance, as this feels like a step back.
Any help would be great!