DEV Community

Cover image for How to Overcome Leverage Browser Caching Favicon
asif shaik
asif shaik

Posted on • Originally published at teluguheal.tech

How to Overcome Leverage Browser Caching Favicon

A favicon is an a logo that we usually encounter on our site to improve our look on site has of own custom icon via a widget in a layout or settings of your site

Leverage Browser caching on favicon is one of the factors which usually get measured for professional & site like GTmetrix pages

First, open website or blog > Click on Theme menu > Click on "ctrl F "

then look for the code below & change it

<link href='/favicon.ico' rel='icon' type='image/x-icon'/>

Replace the code with the given code below

<link href='https://cdn.statically.io/favicons/www.nama_domain.com' rel='icon' type='image/x-icon'/>

Also do not forgot about changing your domain name in the below code.

Then Click the Save button

This is how to change favicon cache which improves site speed & improves site SEO factor

For more coding stuff watch our site

Latest comments (0)