Despite not having understood the problem of my connector, I think it is related to the call of $modx->runSnippet inside a Plugin that give it to me a blank page after call it

Any idea?
By the way for the moment, I currently changed my snippet of front-end delegating the task of rebuilding the cache partition changed to the first visitor (like default modx logic).
Simply checks whether the item interested is present in the cache, otherwise it generates.
Everything works great!
So, from the beginning, I used "GetCache" directly on the snippet that generated a collection of elements (in my case a collection of chunks with xpdoSimpleObject class properties, so additional information for my resources), and was saved the entire snippet in the partitioned cache.
Only by using this Extra I gained valuable seconds (from 6sec to 4sec) when the page loads, that cause I split the cache of the resource (template, css, js,phpthumb,etc) from that snippet, and consequently, a refresh of the cache included only a partial generation of the resource and not my snippet too (and viceversa), fantastic.
Next problem concerned the editing of a single element, that involved the creation of the entire snippet from the beginning (How much code executed for nothing!)
From here I have reduced the loading time of the page of another 1.5-2 sec by dividing the individual elements in the cache and working on it individually.
hence the idea to further reduce the cache into partitions even smaller in relation to what is produced by the manager. Now the change of a resource (or its additional information, as in my case of CRC that extend modResource or xpdoSimpleObject) involves only small parts of the cache, maintaining high performance even with a massive editing of content.
I think it's a good solution, at least for me that I have to load a lot of resources into a single page, and for each of these many other classes related to them.
This is the difference of loading page time after edit element on manager panel:
Avarage time page load before (same server test from Amsterdam):
25-30 sec for the first request (lol, don't ask my why, maybe for all the CRC that have to handle and related query)
Avarage time page load after (same server test from Amsterdam): 1-1,5 sec
always
the only thing I miss now is to call the function runSnippet() with my parameters. I do not understand why it fails
[ed. note: solidusite last edited this post 12 years, 11 months ago.]