LiipImagineBundle
LiipImagineBundle copied to clipboard
Resolve returning /cache even after :remove
Basic command line program to generate thumbnails. First
bin/console liip:imagine:cache:remove
// in the CLI
$url = $cacheManager->resolve($asset->getFilename(), $filter);
assert(!str_contains($url, '/cache/' . $filter), $url);
If I've just cleared the cache, shouldn't this come back with a /resolve, and not /cache
bin/console app:thumb -vv https://127.0.0.1:8000
23:19:37 INFO [app] juan/jc-rosas/jc-rosas.png
In AppThumbnailsCommand.php line 49:
[AssertionError (1)]
http://localhost/media/cache/tiny/juan/jc-rosas/jc-rosas.png
afaik for remove you need to specify which variant of which file you want to delete