{"action":"created","issue":{"url":"https://api.github.com/repos/thumbor/thumbor/issues/699","repository_url":"https://api.github.com/repos/thumbor/thumbor","labels_url":"https://api.github.com/repos/thumbor/thumbor/issues/699/labels{/name}","comments_url":"https://api.github.com/repos/thumbor/thumbor/issues/699/comments","events_url":"https://api.github.com/repos/thumbor/thumbor/issues/699/events","html_url":"https://github.com/thumbor/thumbor/issues/699","id":144700581,"number":699,"title":"Purge method to clear thumbnail cache for an individual image","user":{"login":"nek4life","id":16930,"avatar_url":"https://avatars.githubusercontent.com/u/16930?v=3","gravatar_id":"","url":"https://api.github.com/users/nek4life","html_url":"https://github.com/nek4life","followers_url":"https://api.github.com/users/nek4life/followers","following_url":"https://api.github.com/users/nek4life/following{/other_user}","gists_url":"https://api.github.com/users/nek4life/gists{/gist_id}","starred_url":"https://api.github.com/users/nek4life/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nek4life/subscriptions","organizations_url":"https://api.github.com/users/nek4life/orgs","repos_url":"https://api.github.com/users/nek4life/repos","events_url":"https://api.github.com/users/nek4life/events{/privacy}","received_events_url":"https://api.github.com/users/nek4life/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T19:45:55Z","updated_at":"2016-03-30T19:54:39Z","closed_at":null,"body":"I'm looking into Thumbor for an e-commerce site and typically we load all of our product images for a season at the same time, but inevitably there are some that need to be updated throughout the season. I can't seem to find in the documentation if there is a way to expire the thumbnail cache of one particular item. Normally I'd use a unique filename, but these images are named according to the product variation ids so I can't change the names. I'd also would like to prevent expiring the cache on every image just to update a handful of images."},"comment":{"url":"https://api.github.com/repos/thumbor/thumbor/issues/comments/203606903","html_url":"https://github.com/thumbor/thumbor/issues/699#issuecomment-203606903","issue_url":"https://api.github.com/repos/thumbor/thumbor/issues/699","id":203606903,"user":{"login":"masom","id":438456,"avatar_url":"https://avatars.githubusercontent.com/u/438456?v=3","gravatar_id":"","url":"https://api.github.com/users/masom","html_url":"https://github.com/masom","followers_url":"https://api.github.com/users/masom/followers","following_url":"https://api.github.com/users/masom/following{/other_user}","gists_url":"https://api.github.com/users/masom/gists{/gist_id}","starred_url":"https://api.github.com/users/masom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masom/subscriptions","organizations_url":"https://api.github.com/users/masom/orgs","repos_url":"https://api.github.com/users/masom/repos","events_url":"https://api.github.com/users/masom/events{/privacy}","received_events_url":"https://api.github.com/users/masom/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T19:54:39Z","updated_at":"2016-03-30T19:54:39Z","body":"You could link to the source image with a cache busting string:\r\n\r\n```\r\nhttp://thumbor/unsafe/200x200/http%3A%2F%2Fimage-source%2Fproduct_1_variant_2.jpg%3Fv%3D3333\r\n```\r\nThe original url being `http://image-source/product_1_variant_2.jpg?v=3333` would allow you to update the `v` value to a newer one. Thumbor uses the entire image path to generate the cache keys.\r\n"}}