{"action":"opened","issue":{"url":"https://api.github.com/repos/thephpleague/glide/issues/15","labels_url":"https://api.github.com/repos/thephpleague/glide/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/glide/issues/15/comments","events_url":"https://api.github.com/repos/thephpleague/glide/issues/15/events","html_url":"https://github.com/thephpleague/glide/issues/15","id":53628228,"number":15,"title":"Suggestion for improving performance","user":{"login":"freekmurze","id":483853,"avatar_url":"https://avatars.githubusercontent.com/u/483853?v=3","gravatar_id":"","url":"https://api.github.com/users/freekmurze","html_url":"https://github.com/freekmurze","followers_url":"https://api.github.com/users/freekmurze/followers","following_url":"https://api.github.com/users/freekmurze/following{/other_user}","gists_url":"https://api.github.com/users/freekmurze/gists{/gist_id}","starred_url":"https://api.github.com/users/freekmurze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekmurze/subscriptions","organizations_url":"https://api.github.com/users/freekmurze/orgs","repos_url":"https://api.github.com/users/freekmurze/repos","events_url":"https://api.github.com/users/freekmurze/events{/privacy}","received_events_url":"https://api.github.com/users/freekmurze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-07T12:37:57Z","updated_at":"2015-01-07T12:37:57Z","closed_at":null,"body":"At the moment, when a client request an image, a php process on the server must be started to transfer the image to the client.\r\nFor a low traffic website this won't be a problem, but for a high traffic site the server might get flooded with requests to transfer images.\r\n\r\nOne possible way to avoid invoking php when an image gets requested is to create the image on the path of the request url.\r\n\r\nLet me clarify that a bit. Instead of using get parameters to specify how an image should be manipulated, a regular url should be used. Eg: https://glide.herokuapp.com/height/100/with/500/sharp/2/kayaks.jpg\r\nIf this manipulation does not already exist in cache, create it in the public folder of the server using path \"/height/100/with/500/sharp/2/kayaks.jpg\" and return the image via php. The next client that comes by to retrieve that manipulation won't trigger php on the server as the webserver will return the cached file on the filesystem.\r\n\r\nI hope this suggestion is a bit clear.\r\n\r\n\r\n\r\n"}}