You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Rafa Pérez <ra...@gmail.com> on 2005/03/02 12:51:42 UTC
Static and dinamic content
Hi all. I wonder if lenya is able to maintain static and dinamic
content in a site. I mean, lenya generates the pages dinamycally when
it receives a request, but can I have some pages statically generated
(or generate static pages when publising) in other directories and
present that pages when being requested? I am not talking about
caching the pages, the idea is that those pages do not change
frequently and the serving mechanism could be faster. Sorry if this
question is obvious, but I quite new to this world and I am still
trying to getting touch with lenya.
Thanks in advance
Rafa
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Static and dinamic content
Posted by Rafa Pérez <ra...@gmail.com>.
On Wed, 02 Mar 2005 15:54:04 +0100, Torsten Schlabach
<ts...@apache.org> wrote:
> Rafa,
>
> there is a number of potential approaches to your problem, also
> depending on your environment:
>
> if you are looking for maximum speed and think that caching is not fast
> enough and therefore you want direct delivery of documents, potential
> approached include:
>
> - Export the relevant portion of your site to static HTML and configure
> your webserver to serve these files statically.
> - If these static pages are not generated by Lenya, configure the URI
> space of your webserver into a Lenya and a non-Lenya portion. In that
> case it will be your resposibility to provide a seamless navigation
> between the parts.
>
> There is also something called mod_lenya for the Apache httpd server. I
> haven't tried it personally, but from what I understand it directly
> served files out of the Cocoon/Lenya persistent cache.
>
> Regards,
> Torsten
>
> Rafa Pérez schrieb:
> > Hi all. I wonder if lenya is able to maintain static and dinamic
> > content in a site. I mean, lenya generates the pages dinamycally when
> > it receives a request, but can I have some pages statically generated
> > (or generate static pages when publising) in other directories and
> > present that pages when being requested? I am not talking about
> > caching the pages, the idea is that those pages do not change
> > frequently and the serving mechanism could be faster. Sorry if this
> > question is obvious, but I quite new to this world and I am still
> > trying to getting touch with lenya.
> > Thanks in advance
> >
> > Rafa
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
Thanks all. It answered my question.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Static and dinamic content
Posted by Torsten Schlabach <ts...@apache.org>.
Rafa,
there is a number of potential approaches to your problem, also
depending on your environment:
if you are looking for maximum speed and think that caching is not fast
enough and therefore you want direct delivery of documents, potential
approached include:
- Export the relevant portion of your site to static HTML and configure
your webserver to serve these files statically.
- If these static pages are not generated by Lenya, configure the URI
space of your webserver into a Lenya and a non-Lenya portion. In that
case it will be your resposibility to provide a seamless navigation
between the parts.
There is also something called mod_lenya for the Apache httpd server. I
haven't tried it personally, but from what I understand it directly
served files out of the Cocoon/Lenya persistent cache.
Regards,
Torsten
Rafa Pérez schrieb:
> Hi all. I wonder if lenya is able to maintain static and dinamic
> content in a site. I mean, lenya generates the pages dinamycally when
> it receives a request, but can I have some pages statically generated
> (or generate static pages when publising) in other directories and
> present that pages when being requested? I am not talking about
> caching the pages, the idea is that those pages do not change
> frequently and the serving mechanism could be faster. Sorry if this
> question is obvious, but I quite new to this world and I am still
> trying to getting touch with lenya.
> Thanks in advance
>
> Rafa
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Static and dinamic content
Posted by Michael Wechner <mi...@wyona.com>.
Rafa Pérez wrote:
>Hi all. I wonder if lenya is able to maintain static and dinamic
>content in a site. I mean, lenya generates the pages dinamycally when
>it receives a request, but can I have some pages statically generated
>(or generate static pages when publising) in other directories and
>present that pages when being requested?
>
sure, either insert a pipeline (or pipelines) for
specific areas or use mod_proxy
HTH
Michi
>I am not talking about
>caching the pages, the idea is that those pages do not change
>frequently and the serving mechanism could be faster. Sorry if this
>question is obvious, but I quite new to this world and I am still
>trying to getting touch with lenya.
>Thanks in advance
>
>Rafa
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org