This question has been answered by multiple community members. See the first response.
[[pdoMenu? &startId=`0`&level=`0`&hereClass=`current` &outerTpl=`outerTpl` &excludeDocs =`47,211`]]
[[pdoResources? tpl=`events_tpl` &parents=`39` &includeContent=`1` &includeTVs=`1`&processTVs=`1`&limit=`450` &showHidden=`1`&sortbyTV=`Kursart` &sortdirTV=`ASC`&tvFilters=`Kursart==%[[*description]]%` ]]
[[pdoMenu?
&startId=`0`
&level=`0`
&hereClass=`current`
&outerTpl=`outerTpl`
&excludeDocs =`47,211`
&depth=`1`
&where=`{"template:IN":[1,2,3,4}`
]][[pdoResources?
&tpl=`events_tpl`
&depth=`1`
&parents=`39`
&includeContent=`1`
&includeTVs=`TV1Name, TV2Name`
&limit=`450`
&showHidden=`1`
&sortbyTV=`Kursart`
&sortdirTV=`ASC`
&tvFilters=`Kursart==%[[*description]]%`
&where=`{"template":3}`
&select = `{"modResource":"id,pagetitle,uri"}`
]]@himuroviv, @BobRay and @Paulp
Thank you for your responses which solved already a lot.
May main problem is still
http://www.rottmayr-akademie.eu/veranstaltungskalender/ which has a loading time of 45 seconds or more sometimes although "gtmetics" says 3.5 seconds.
I use
[[pdoResources?
&tpl=`events_tpl`
&depth=`1`
&parents=`39`
&includeContent=`1`
&includeTVs=`TV1Name, TV2Name`
&limit=`450`
&showHidden=`1`
&sortbyTV=`Kursart`
&sortdirTV=`ASC`
&tvFilters=`Kursart==%[[*description]]%`
&where=`{"template":3}`
&select = `{"modResource":"id,pagetitle,uri"}`
]]
now which didnt "solve" it
(without &where on the page now because I dont know what is {"template":3}. I tried to indicate the template (28), where the call is in, but this didnt work.)
I still have loading problems on this page, but Im not sure what it could be. It feels like the cache is littered after one day.
Generally the (php)-pages "themselves" seem to have a exended "loading/waiting" time irrespective of sprites etc. which load slowly.
Those documents have a few KB's .. and Im waiting seconds till they come out of the system.
When you say buy more prozessor power this would also be ok but I dont know if this is the solution. As mentioned Ive another web running on this server which works like a charm ..
Thanks, Stefan