PHP wrapper does not handle caching #20

Open
lojjic opened this Issue Jul 8, 2010 · 0 comments

Projects

None yet

1 participant

@lojjic
Owner
lojjic commented Jul 8, 2010

Currently the PIE.php wrapper script just serves up the PIE.htc file after setting the correct content-type header. This means that it doesn't send any headers to control caching by the browser, so IE will re-fetch the behavior needlessly.

Logic should be added to PIE.php to send cache expiry headers, and to honor if-modified-since based on the PIE.htc file's timestamp.

There are some good comments with code snippets buried in the discussion on http://php.net/manual/en/function.header.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment