lib/Ajde/Document/Format/Data.php
<?php
class Ajde_Document_Format_Data extends Ajde_Document
{
protected $_cacheControl = self::CACHE_CONTROL_PUBLIC;
protected $_maxAge = 2678400; // 1 month
public function render()
{
Ajde::app()->getResponse()->removeHeader('Set-Cookie');
// Get the controller to output the right headers and body
return parent::getBody();
}
}