Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14038

Frank Goossens on "[Plugin: Autoptimize] More options for CDN url"

$
0
0

well, fancybox.png is to big to be inlined (it's 14Kb, AO by default only inlines if < 4Kb). but if you have "data:uri's" active, if you have a CDN specified and if the image is too big, then the url_replace_cdn-function is called and with that also the "autoptimize_filter_base_replace_cdn"-filter. so if those conditions are met, the background-image URL should get swapped for the one in your function hooked to the filter, really ...


Viewing all articles
Browse latest Browse all 14038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>