المدة الزمنية 5300

Prevent favicon requests: the fastest way to stop the browser from requesting favicon.ico

بواسطة Dave Hollingworth
6 041 مشاهدة
0
174
تم نشره في 2022/09/07

When developing HTML, sometimes you'll see an additional request for "favicon.ico" that returns a 404 response. You can't stop the browser from requesting this file, it does it automatically. The quickest way to avoid this is to add one line of code to the head element of your HTML. Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth Code shown in the video: https://gist.github.com/daveh/9c533e8a21687e9698a002e687cad99e 00:00 favicon.ico 404 00:21 code to prevent it #html #shorts

الفئة

عرض المزيد

تعليقات - 16