[opencms-dev] Optimizing OpenCMS performance. (

Christian Steinert christian_steinert at web.de
Fri Jun 16 17:49:04 CEST 2006


Jonathan Woods schrieb:
> Interesting to note you're using jsvc.  I found it buggy, and ended up
> running java directly.  I don't suppose that could be the problem, but you
> never know.
>   

I'm not productive with it yet, but for me jsvc works pretty well 
(although I found it a bit of a  pain to compile/configure).
I'd also be surprised, I jsvc would take up too much resources itself.

---

Concerning the cache - the amount of control one has over caching is 
really very good. I certainly recommend looking into it.
For me it saves load and increases response times dramatically, because 
the building of my navigation is very expensive (but nav is the same on 
each page).
Of course caching makes not much sense in the offline project, so I have 
not enabled is and thus preview activity is slower and more expensive.
If you have many editors, you might consider clustering or a separate 
editing server, which sadly seems to require the commercial OCEE module set.

Because caching can be set for each resource individually, I have 
splitted my templates into various JSP files, basically at least one 
file per required caching behavior: Some of these will be cached in one 
version for the whole site, some one time per locale (e.g. Navigation), 
some once for each page (e.g. Breadcrumbs). All these pieces are then 
included by my actual JSP template.

Caches are automatically flushed when publishing something, so I have 
set the cache times quite high.

---

Also, I do not know which database you use, but I found that performance 
increased noticably from Mysql 3.x -> 4.0 and also - although less 
significantly - from 4.0 to 4.1

To me, Opencms also seems to have gotten a bit faster somewhere around 
6.20 or 6.21

hth
christian



More information about the opencms-dev mailing list