Any reason to not do a 301 on favicon.ico, apple-touch-icon, and robots.txt?

Go To StackoverFlow.com

9

I would like to redirect requests for these resources to my CDN. Is there any reason to not do this?

2012-04-04 18:46
by John Bachir


2

The only reason that I can think of is that services that use them might not follow the redirect - it might not be transparent for them, they may have to actively do it, depending on their implementation.

The only way to know would be to try it out and test your intended use cases - do browsers still fetch them, what happens when you add the test site as a shortcut on a mobile device, etc...

2013-08-01 21:23
by Duncan Lock
Ads