Why are optimized files that I manually add to "pub/media/catalog/product/cache" not being served.

I have optimized product images that are much smaller than those automatically created in "pub/media/catalog/product/cache". So I copied over the files in the cache, but these files are still not loading in the web browser.

See Image:

enter image description here

What do I need to do to make my manually added files to cache be served in a web browser?



1 Answer 1


I figured out that I missed one step to make this all work:

systemctl restart nginx php7.0-fpm redis 'varnish*'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.