Preloaded Asset Not Used
-
It’s clear you’ve done a tremendous amount of work on this plugin, and I really appreciate the effort you’ve put into it. This is just a suggestion…
I noticed on a staging site that version 1.24.5 of the plugin is showing the following warning in Firefox 87.0’s console:
The resource at “https://thedomain.com/wp-content/plugins/ti-woocommerce-wishlist/assets/fonts/tinvwl-webfont.woff2?ver=xu2uyi” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
The warning appears on any page of the site that doesn’t include a Wishlist link a few seconds after the page finishes loading.
It looks like that web font may be for the heart icon you use for the Wishlist links? If so, maybe you could use the HTML code for a heart instead:
<span class="tinvwl_add_to_wishlist-text">♡ Add to Wishlist</span>
which wouldn’t require the extra asset loading on every page?
- The topic ‘Preloaded Asset Not Used’ is closed to new replies.