Skip to content

Conversation

@cbillen
Copy link

@cbillen cbillen commented Aug 13, 2012

Hi There,

I added a check in the controller for page caching to ensure that the response we're sending is text/html

Before this patch if you made a request to an html which returns a pdf via send_file you would get a blank pdf because page caching was taking place. But now it will check that we are actually sending text/html before attempting the cache.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant