Archived topic
Header image not caching
1 reply · Started by Shaun on August 2, 2019
Hi there,
I have setup Autoptimize as per the article here - https://generatepress.com/fastest-wordpress-theme/ - but I'm finding that the image I've added in the Header Element on the home page is not cached (according to GTmetrix).
Is this because it's a background image?
Any help would be much appreciated!
Hi there,
that is correct, shortpixel can't cache background images unless the are written inline within the markup:
https://shortpixel.helpscoutdocs.com/article/168-the-background-images-are-replaced