Re: Best practices - Templates

Stéphane Croisier <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Two tips usine Jahia 4.0 or 4.1:
- avoid using the action menu on page with 
hundreds of containers. This will become very 
slow to load. Prefer in such a case the standard 
static icon. (In Jahia 4.5 action menus now use 
AJAX and then are only called on user click)
- Use the OSCache taglibs in order to cache (in 
live mode especially) the dynamic content which 
take time to load (I think about the navigation 
menu - e.g. the left menu or the top menu in the 
corporate portal templates) or any container 
which aggregate content from other pages, complex 
filters, complex scriptlets, call to some web 
services, etc... Combined with the Jahia HTML 
cache (but only valid for a whole page) this will 
provide excellent perf. (In Jahia 4.5, the Jahia 
HTML cache is now being refactored in order to 
support a lower granularity = per container HTML 
cache so this will be then automatically done by the system).

Cheers,
Stéphane

At 15:36 23/08/2005, you wrote:
>Hi everyone,
>     does someone have a document which indicates the best practices for the
>creation of a Jahia template with performance in mind.  I seek something
>complementary to the Jahia_Template_Develper guide.
>Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.