Skip to content

Instantly share code, notes, and snippets.

@ameenross
Last active March 12, 2019 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ameenross/2cc35daa45b5b3e2fe840ddcce95523b to your computer and use it in GitHub Desktop.
Save ameenross/2cc35daa45b5b3e2fe840ddcce95523b to your computer and use it in GitHub Desktop.
Got 404? No more! Place this file in your webroot, and your application will no longer waste CPU cycles to handle this request, log the 404 etc. The webserver will just respond with an HTTP 200 and serve the file.
It's time for user agents to stop requesting this file.
- https://www.w3.org/2005/10/howto-favicon
- https://blog.whatwg.org/the-road-to-html-5-link-relations#rel-icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment