Are there any alternatives I can use instead of getResources? I guess replacing Wayfinder wouldn’t be that tough of a job...
I have a few if snippets called uncached, all else is cached with the exception of getPage. And, well, I use a lot of output filters such as ellipsis, notempty, userinfo and what have you. They are pretty necessary to use, I think. I have all of these snippets in my front page: getResources, getPage, getFeed, phpthumbof, wayfinder and simplesearch. I guess that’s pretty much? I could maybe get rid of Wayfinder and getFeed, but the rest of them I’m not sure.
And yeah, the snippets are doing it for me. I have pages that don’t use any snippets and they are so much faster than any pages that do.
modSnippet: Wayfinder executed in 0.0457 s
modSnippet: SimpleSearchForm executed in 0.0073 s
modSnippet: getPage executed in 0.5331 s
modSnippet: getResources executed in 0.7273 s
modSnippet: getResources executed in 0.4925 s
So far I’ve managed to sharp some time of by making the calls call less, and by removing unnecessary parameters, but the differences aren’t huge.