Closed gvhuyssteen closed 8 years ago
A really useful addition!
is that this method does not already done the work?
ImgCache.getCachedFileURL(imageUrl, function(sourceUrl, cachedUrl) {
logger.info('Source image url :', sourceUrl, '-> Cached url :', cachedUrl);
});
'private' methods like getCachedFileFullPath
can now be accessed via ImgCache.private
so this extra method is perhaps not so useful now.
Thanks for the PR though @gvhuyssteen .
returns the cached url of a specific source url