I'm trying to set up ZFPlanet:
http://github.com/padraic/ZFPlanet
but seems, that the feeds are not cached at all (are generated always).

Lately, PadrĂ¡ic has added comment to the Feed_Controller:



> This is very untidy, so to explain... We've enabled static file caching
> here
> * so the feeds are saved as actual XML files served directly by Apache
> (see
> * .htaccess). Apache should handle conditional GETs out of the box.
> * The intention is to make this behaviour configurable (not done yet). If
> static
> * caching disabled, the code below will always dynamically generate the
> feed,
> * AND handle conditional GET requests also (saving us from actually
> generating
> * the feed all the time - costing a single DB query to grab the latest
> * dateModified value).
> */
> 

This explains a lot, but I can't find where the static feed caching is being
enabled and configured.

BTW, the Reference guide is missing docs for:
Zend_Cache_Backend_Static
Zend_Controller_Action_Helper_Cache
The only docs I have found
is this Paddy's post:
http://bit.ly/9hzhoW

Any examples?

In addition I have found small bugs/typos/issues in ZFPlanet
trying to run it on PosgreSQL.
Where can I report it?

-- 
takeshin
-- 
View this message in context: 
http://n4.nabble.com/ZFPlanet-caching-feeds-tp1471959p1471959.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to