{"action":"closed","issue":{"url":"https://api.github.com/repos/thephpleague/glide/issues/6","labels_url":"https://api.github.com/repos/thephpleague/glide/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/glide/issues/6/comments","events_url":"https://api.github.com/repos/thephpleague/glide/issues/6/events","html_url":"https://github.com/thephpleague/glide/issues/6","id":53195821,"number":6,"title":"Worker compatible","user":{"login":"reinink","id":882133,"avatar_url":"https://avatars.githubusercontent.com/u/882133?v=3","gravatar_id":"","url":"https://api.github.com/users/reinink","html_url":"https://github.com/reinink","followers_url":"https://api.github.com/users/reinink/followers","following_url":"https://api.github.com/users/reinink/following{/other_user}","gists_url":"https://api.github.com/users/reinink/gists{/gist_id}","starred_url":"https://api.github.com/users/reinink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinink/subscriptions","organizations_url":"https://api.github.com/users/reinink/orgs","repos_url":"https://api.github.com/users/reinink/repos","events_url":"https://api.github.com/users/reinink/events{/privacy}","received_events_url":"https://api.github.com/users/reinink/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-31T18:07:21Z","updated_at":"2015-01-06T19:10:53Z","closed_at":"2015-01-06T19:10:53Z","body":"I'm thinking Glide should be usable in a worker based configuration as well. I doesn't necessarily has to provide this functionality out of the box, but it should at least be able to facilitate it. Something like this:\r\n\r\n**Glide Server**\r\n\r\n1. Request comes in\r\n2. Check if manipulated image exists\r\n    - If yes, show it\r\n3. Verify that the source image exists\r\n    - If no, trigger a 404 error\r\n4. Add new job\r\n    - Either with the filename and params, or request object\r\n5. Show temporary image, with no cache headers\r\n\r\n**Worker**\r\n\r\n1. Get next job\r\n2. Check if manipulated image exists\r\n    - If yes, skip\r\n3. Verify that the source image exists\r\n    - If no, throw exception\r\n4. Generate the image"}}