mattoperry/IronCache — pull request #1 by slorek (2012-02-04 15:31:33+00:00)
Title: Support multiple EE site bootstraps and page content types

Hi

Thanks very much for your useful extension.

I had to make a couple of changes to get it to work with our site:

- We're using multiple bootstrap files in different paths to support a multi-language site setup, therefore I had to store the complete request path rather than the one EE_URI provides. Otherwise only one version would be cached in our setup. E.g. /en/index.php, /fr/index.php, the first segment would not be in the page_key.

- I added the ability to set the correct content type headers. This was breaking dynamic CSS templates for me. Now they render correctly. Previously, it was always sending text/html and the CSS file was not being parsed by the browser (Safari).

Thanks again!