perlbal + mogilefs + php headers issue

Prepaid prepaid at gmail.com
Tue Aug 28 12:35:43 UTC 2007


Hi all,

I'm using Perlbal + mogilefs + PHP to handle file storage for my online
websystem. However, I'm having a problem with PHP and sending the
X-REPROXY-URL with the MogileFS urls.

The problem that I'm having is the PHP is sending headers that discourage
caching, ie: Cache-Control, Pragma.. This causes the last-modified header
from mogstored to not appear and for the files not to be cached on the
client and to be downloaded on every view.

I tried 'blanking' the headers by doing:
         header("Cache-Control: ");#
         header("Pragma: ");
         header("Expires: ");



But that didn't help in the caching problem.

Does anyone have any ideas what might work and solve this problem?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/perlbal/attachments/20070828/9bfab8ea/attachment.htm


More information about the perlbal mailing list