Thanks Bob for your patience.
The fact is, the plugin itself work as expected, the output of the TV Value is correct.
But after using $resource->getTVValue() or $tv->renderOutput() in the plugin, the resource cache does not build as expected afterwards. There is no error thrown, no logfile entry, but bad performance, for complex pages a big disadvantage.
To take all confusion out of this, let's start from begin.
- Add a plugin in your installation described in the bugtracker with a TV of your choice. Now set it to inactive first.
clear the cache.
- Call a page in your browser, set the [^t^] and [^s^] tags in your template to get the perfomance data on screen, watch the built cache and its structure with a ftp client. Repeat the call, now coming from the cache.
- Now set the test plugin active (cache will be cleared).
- Repeat your page call, watch the performance tags. Watch the newly built cache with your ftp client. Do the second call (expected coming from the cache). Compare your performance data with the former call with inactive plugin.
Expected result: 1st call is coming from database, 2nd call is coming form cache (obviously faster).
Effective result: 1st call is coming from database. 2 call is coming from

, the response time is about the same as the 1st call. Looking at the cache with my ftp client the cache structure looks odd. Either no id.cache.php present or 1.cache.php in every cache partition.
I hope, that I described it this issue clear enough this time.