Fix for issue #563 (Rails page cache outside public/ is not served by Apache (but improperly forwarded to the Rails app)) #36

Closed
wants to merge 1 commit into from

2 participants

@cmaion

As I wasn't sure how to clear an existing RequestNote / userdata APR pool, I've added a skipBackend flag to the RequestNote.

This solves the issue, as for some reason the requests that needs to be served from the page cache goes 3 times in prepareRequest(): a RequestNote is created on a previous pass, which makes handleRequest() believe that it needs to be served by Rails.

@FooBarWidget
Phusion B.V. member

Merged in 3.0.14.

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