Mikael Ståldal wrote:
> At 15:38 2001-05-18 +0200, Sérgio Carvalho wrote:
>
>> Most times, a better alternative to offline content generation - when
>> used as a cache - is to use a real frontside cache. Squid, for
>> example, can be setup to do blind front side caching (blind, in the
>> sense that it ignores HTTP response headers, and always assumes a
>> configured TTL for the pages).
>
>
> I haven't tried Squid, but how does it know when a page expires? To use
> the same TTL for all pages is not useful for sites with any dynamic
> content. How does it know which pages to update often, and which pages
> to not cache at all?
You could use Oracle Web Cache as fron end
(http://technet.oracle.com/docs/products/ias/doc_library/1021doc_otn/cache.102/a86722/toc.htm).
Unlike squid as reverse proxy, Oracle Web Cache has more inteligent
algorithms for Caching dynamic content based on Coookies, page
personalization (as my Yahoo web pages) or other dynamic content
included into the HTML generated by Cocoon.
Also Oracle Web Cache includes a listening port (for example 4001) which
accepts an XML post message which say to the Web Cache engine which
pages are expired.
I have plan to include into DB Prism / Cocoon CMS
(http://www.plenix.com/dbprism/doc/CMS.html) a database trigger into the
Content table which alert to the Oracle Web Cache which pages are
changed his content, in this case the web cache will update the content
in the next request made by the user. This technique will eliminate the
mirror into the file system and the CMS will work always on line using
cocoon as render engine and DB Prism as content generator.
Best regards, Marcelo.
--
Marcelo F. Ochoa - [EMAIL PROTECTED]
Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press
http://www.wrox.com/)
Chapter 8 of the book "Oracle & Open Source" (O'Reilly
http://www.oreilly.com/catalog/oracleopen/)
-----------------------------------------------
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-444430 Fax: +54-2293-444431
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>