[Zope-CMF] skin folders and performance

Romain Slootmaekers romain at zzict.com
Fri Dec 5 13:24:26 EST 2003


If you want real performance you might also consider changing some of 
the <tal:repeat> loops in <dtml-in loops> the change in performance is 
significant.

if you have a dtml-method called "body" and you want to call it from the 
zpt page you just add:

<span tal:replace="structure python:here.body(here,request)">body goes 
here</span>

have fun,
and a fast site,

Romain Slootmaekers.




Gerry Kirk wrote:

> I just discovered, after a few painful weeks, that nesting skin folders 
> in CMF/Plone is a *bad* thing.
> 
> We have nested folders, in order to keep our files separate from 
> customized skin files. In all, there were 3 levels of folders, with 
> about 15 folders in all.
> 
> After eliminating all levels, and using ugly long folder names, page 
> loads in debug mode went from 15s to 4s, the same as a stock plone site 
> on our server. Yay!
> 
> This should get documented somewhere, so someone else can avoid the 
> pain. I'm not sure where that should be.
> 
> Cheers,
> Gerry
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
> 
> See http://collector.zope.org/CMF for bug reports and feature requests
> 
> 





More information about the Zope-CMF mailing list