{"action":"created","issue":{"url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1096","repository_url":"https://api.github.com/repos/nexcess/magento-turpentine","labels_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1096/comments","events_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1096/events","html_url":"https://github.com/nexcess/magento-turpentine/pull/1096","id":132604776,"number":1096,"title":"Allow custom VCL includes in top and bottom of generated vcl","user":{"login":"andrewkett","id":2080313,"avatar_url":"https://avatars.githubusercontent.com/u/2080313?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewkett","html_url":"https://github.com/andrewkett","followers_url":"https://api.github.com/users/andrewkett/followers","following_url":"https://api.github.com/users/andrewkett/following{/other_user}","gists_url":"https://api.github.com/users/andrewkett/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewkett/subscriptions","organizations_url":"https://api.github.com/users/andrewkett/orgs","repos_url":"https://api.github.com/users/andrewkett/repos","events_url":"https://api.github.com/users/andrewkett/events{/privacy}","received_events_url":"https://api.github.com/users/andrewkett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-10T04:34:28Z","updated_at":"2016-05-10T13:55:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nexcess/magento-turpentine/pulls/1096","html_url":"https://github.com/nexcess/magento-turpentine/pull/1096","diff_url":"https://github.com/nexcess/magento-turpentine/pull/1096.diff","patch_url":"https://github.com/nexcess/magento-turpentine/pull/1096.patch"},"body":"This commit adds the ability to add custom vcl files to both the top and bottom of the generated vcl file. I added this as I was having issues adding custom logic to the vcl_recv subroutine. I believe this is because the turpentine subroutine is called first and returns at the end so the bottom one is never actually called. I was simply going to add the include to the top of the file but it seems that the include has been recently moved to the bottom, I am sure this was for a good reason. \r\n\r\nThis problem was also mentioned [here](https://github.com/nexcess/magento-turpentine/issues/1083), I have implemented the discussed changed in this pull request."},"comment":{"url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/comments/218164524","html_url":"https://github.com/nexcess/magento-turpentine/pull/1096#issuecomment-218164524","issue_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1096","id":218164524,"user":{"login":"dersam","id":475851,"avatar_url":"https://avatars.githubusercontent.com/u/475851?v=3","gravatar_id":"","url":"https://api.github.com/users/dersam","html_url":"https://github.com/dersam","followers_url":"https://api.github.com/users/dersam/followers","following_url":"https://api.github.com/users/dersam/following{/other_user}","gists_url":"https://api.github.com/users/dersam/gists{/gist_id}","starred_url":"https://api.github.com/users/dersam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dersam/subscriptions","organizations_url":"https://api.github.com/users/dersam/orgs","repos_url":"https://api.github.com/users/dersam/repos","events_url":"https://api.github.com/users/dersam/events{/privacy}","received_events_url":"https://api.github.com/users/dersam/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T13:55:30Z","updated_at":"2016-05-10T13:55:30Z","body":"@aricwatson Is there any additional work that would need to be done to allow this to be merged? There definitely seems to be demand, considering there are several open PRs right now to add this feature."}}