bednee / cooluri

GIT repository for TYPO3 extension CoolUri
7 stars 12 forks source link

Reduce the amount of queries - getDomain #37

Closed lochmueller closed 7 years ago

lochmueller commented 8 years ago

Cleanup the getDomain function, so the cache works well. The problem is, that the input "$id" is modified in the loop and so the cache do not work because the rootline is always checked, if the domain is not one the initially checked page. Change the while loop to a deterministic recursively called function and cache on each level. Remove more than 500 queries on my homepage again :)

Regards, Tim

patch.txt

lochmueller commented 8 years ago

Any news on this issue too. derpue already create a patch. Please add this improvment to the offical extension...

lochmueller commented 7 years ago

No response over an year. I close this issue. Patch is part of @derpue repository...