PHP wrapper does not handle caching #20

lojjic opened this Issue Jul 8, 2010 · 0 comments


None yet

1 participant

lojjic commented Jul 8, 2010

Currently the PIE.php wrapper script just serves up the 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 file's timestamp.

There are some good comments with code snippets buried in the discussion on

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