Hello i show a warning in the source file that suggested me to use preload_tag
, does anyone knows what this means and which i must replace to add that?
Thanks in advance
Hello i show a warning in the source file that suggested me to use preload_tag
, does anyone knows what this means and which i must replace to add that?
Thanks in advance
@mpatsia
Preload_tag help the website load faster and reduce the render blocking stuff, for more details please check your website in the Google page speed test
Hello and thanks for reply, i have checked it and because the speed score is too low i tried to replace the tags but i no not know which tag to replace with it
@mpatsia
let me guide you how to add the shopify filter below is the sample code
{{ 'style.scss.css' | asset_url | stylesheet_tag: preload: true }}
you need to replace your links like this
Is it helpful? Like, or Accept solution.
I repleced with the folowing
{{ 'theme.css' | stylesheet_tag: 'preload' }}
which works also, so thanks for you help
@mpatsia
you need to add the location filter also where is your css is located.
When you say location, the assets folder?