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).
Show file
Open project: padraic/ZFPlanet
Protected Properties
Property |
Type |
Description |
|
$_feed |
|
|
|
Public Methods
Protected Methods
Method Details
_generateFeedContainer()
protected method
_getBaseUri()
protected method
_handleConditionalGet()
protected method
atomAction()
public method
Property Details
$_feed protected property