perlbal + mogilefs + php headers issue

Prepaid prepaid at
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?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the perlbal mailing list