Re: Publication date

Stéphane Croisier <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Mmmh it risks to be a bit less trivial than 
that.... Content may be reused on several pages 
(so you can't simply flush the current page). 
Moreover, on the same page, you can have various 
different permissions. etc, etc... So replacing 
the current jahia HTML cache by an external cache 
proxy is not so simple and rapidly your cache 
proxxy will become inconsistent. We are now 
working for Jahia 5.0 on a new full cache server 
which will be compliant with the ESI standard (= 
you can manage HTML fragments on a page and not 
only full pages). Meanwhile it seems to me more 
easy to just embed some JSP cache taglibs (cf 
OSCache HTML tags for instance) in your set of 
templates rather than trying to configure an external cache proxy.

Cheers,
Stéphane

At 11:22 25.11.2005, ghislain\.cussonneau wrote:
>Hi !
>
>I use Jahia 4.0.6 and I want to use the apache 
>cache server in front-off Jahia for the HTML 
>content. To do that, Jahia need to send some Http Headers to Apache :
>- Expires : (now + cache_max_expire_constant) date in rfc822 format
>- Last-Modified : last publication date in rfc822 format
>- Cache-Control : max-age=cache_max_expire_constant, must-revalidate
>- ExpiresAbsolute : (nom + 24 hours) in rfc822 format
>
>My problem is about calculate the 
>"Last-Modified" date : I want to use the date of 
>the publication of the page in the workflow.
>
>Is it possible with Jahia 4.0.6, because I can't 
>find in Jahia API how to get it ?
>Which version of Jahia do I need to use ?
>
>Thanks in advance
>
>Ghislain CUSSONNEAU
>DIRR/DPIL/CIS
>CAP 44, Rue Marcel Sembat
>44000 Nantes
>02 51 84 48 80
>
>
>Accédez au courrier électronique de La Poste : www.laposte.net ;
>3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)

- -- --- -----=[ scroisier at jahia dot com ]=---- --- -- -
CEO - Jahia Ltd, 45 rue de la gare, 1260 Nyon (Switzerland)
Jahia : The Java Unified Web Platform
www.jahia.org - The community and product web site
www.jahia.com - Our commercial services company
www.collaborativesource.org - The Collaborative Source Initiative
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.