How can I load the favicon from a CDN?

Hi everybody,

I’m trying to optimize my website www.perus.co and the only asset that is not loading from CDN is the favicon. I’ve been trying everything for the last 2/3 hours but can’t find a solution.

As you can see the favicon.ico is veryyyy slow and going to a 404. I don’t understand where it is. It is not in my theme.liquid.

Thank you so much for your help

@NLanglois

you have upload .ico file

I found an answer to this.

Actually recently I had a speed optimization done for my website and they added this script to the

{%capture pDescription%}
  
  
  
  {%endcapture%}
  

My favicon code was under that script which caused a 404 on the GTMetrix as the main goal of this code seems to trick speed tests.


The solution was to put this line of code above the script. The speed test is now good again but I don’t know if my load speed has improved…

Thanks anyway, hope what I found can help someone