- PremiumArnaud PALLESJune 23, 2020 @ 11:39 am
on PageSeep Insights, i have Preload key requests:
” https://mydomain.fr/wp-content/plugins/gdpr-cookie-compliance/dist/styles/lity.css ” => 1020ms.
I use Divi, and i have added this <link href=”https://mydomain.fr/wp-content/plugins/gdpr-cookie-compliance/dist/styles/lity.css” rel=”preload” as=”style”> in <head> but still have same advert.
I use WPRocket plugin to (for information) but i don’t if that’s very important to say.
Thanks for your help.Moove AgencyJune 25, 2020 @ 12:37 pm
You can add this to your functions to achieve that:
add_action( 'gdpr_enqueue_lity_nojs', '__return_false' );
Hope this helps.
ThanksAuthorPostsViewing 2 posts - 1 through 2 (of 2 total)
The topic ‘How to preload Lity.css ?’ is closed to new replies.
How to preload Lity.css ?
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.