Does 301 redirect for CSS and JS files in cross browser mode?

Are 301 redirects performed for CSS and JS files in cross browser mode? For example, if there is

<script type="text/javascript" src="/js/all.js" ></script>

and the server will return 301 redirects to /js/all2.js, will the browser be seen without problems all2.jsas the correct js file?

+2
source share
2 answers

Yes

Am I now getting multiple cookies?

+2
source

It depends on the browser, most desktop browsers will follow the redirect.

Duplicate here:

Can I use 301 redirection for incoming external javascript files?

0
source

All Articles