[opencms-dev] Caching in the Navigation class

Oliver Faulhaber ofh3 at hotmail.com
Fri Oct 19 11:18:41 CEST 2001


Hi OpenCms-Developers

at the moment we work on a OpenCms project with a complex HTML Frontend.

By requesting a page within this project, the method getNavFold() is 
executed five times in our navigation class (due to the HTML structure of a 
page)

The method getNavFold() uses, among other things, the method 
getSubFolders(String folder) of the class CmsObject, which needs 25-50 
milliseconds for its execution on our systems.

Since, as already mentioned, our pages produce above 5 calls of 
getSubFolders(), we get response times within up to 300 milliseconds, which 
naturally represents a very long response time.

Therefore I have taken a look into the OpenCms-classes an have found, in 
getSubFolders(...) in the genericSQL-RessourceBroker, the following comment:

   // Todo: add caching for getSubFolders
   // 
folders=(Vector)m_subresCache.get(C_FOLDER+currentProject.getId()+foldername);

;)

we would be very glad, if in one of the next releases this caching were 
implemented. This would accelerate our project dramatically.

Thank you and many greetings
Oliver Faulhaber

_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp




More information about the opencms-dev mailing list