Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Background image CDN

$
0
0

Replies: 0

Hello,

I’ve created a CDN with CloudFront and Set “Use CDN Mapping” to ON in LiteSpeed Cache > Settings > CDN (include image and css).

It works fine and all image and css files are served through the CDN except a background image, Litespeed doesn’t replace the url: background-image: url(https://mydomain/myimage.jpg).

Do I need to add any attribute “HTML Attribute To Replace”?

These are the default “HTML Attribute To Replace” in LiteSpeed:
.src
.data-src
.href
.poster
source.srcset

  • This topic was modified 17 minutes ago by reyneli.
  • This topic was modified 16 minutes ago by reyneli.

Viewing all articles
Browse latest Browse all 59525

Trending Articles