Prevent Image Cache from being cleared

My setup is running with Envoyer to deploy to production. When doing so, one of the deployment hooks calls php artisan cache:clear. While this is necessary for most parts of the app, I want it to avoid the image cache.

Basically, all transformed / processed images need to be re-processed, although there is no need for this, since the storage page is not changing.

This slows the site down a lot the first time after deploying. Is there any way to ignore the image cache when clearing the Laravel cache with the above method?

>>>>>>> Unanswered <<<<<<<
5 Replies