PHP Class Zfplanet_FeedController, ZFPlanet
.. 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).
Afficher le fichier
Open project: padraic/ZFPlanet
Protected Properties
Свойство |
Type |
Description |
|
$_feed |
|
|
|
Méthodes publiques
Méthodes protégées
Method Details
_generateFeedContainer()
protected méthode
_getBaseUri()
protected méthode
_handleConditionalGet()
protected méthode
atomAction()
public méthode
Property Details
$_feed protected_oe property