Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-07-2007, 10:32 AM
Junior Member
 
Join Date: Sep 2007
Posts: 1
Default Zend_Cache_Frontent_Page question

Hi,

I am using Zend_Cache_Frontent_Page to cache pages from my web site.
I want to "clean" the HTML before saving into the cache file.
How can I do it?

I have modified the _flush method (file Zend/Cache/Frontend/Page.php):

public function _flush($data)
{
$this->save(Innoa::compressHTML($data));
return $data;
}

But this is not a good practice...
Any ideas?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:23 PM.