javascript - Loading CSS and JS files from another domain and serving resources from consistent URL -


i have website grown large , built on super-restrictive platform (sbi). there have follow file structure , put in appropriate folder , upload each , every file through interface manually. have cool html5 template , javascript lot of little files , images way easier upload stuff other domain hosted hostgator using filezilla , refer css , js files sbi site location @ hostgator's domain.

are there potential issues method?

the reason asking because yesterday came across google's article on serving resourcing consistent url: https://developers.google.com/speed/docs/best-practices/payload#duplicate_resources however, might misunderstanding means. when put actual url test @ google's page speed insights here https://developers.google.com/speed/pagespeed/insights advises me serve resources consistent url, in details doesn't complain css , js files, complains facebook only, this:

suggestions page: following resources have identical contents, served different urls. serve these resources consistent url save 1 request(s) and24.3kib. http:// static.ak.facebook.com/.../xd_arbiter.php?... https:// s-static.ak.facebook.com/.../xd_arbiter.php?...

i appreciate reading this. in advance!

serving static content different domain common practice, don't see issues there - it's safe , reliable server using serve it.

the facebook warning mean loading same fb api script twice, or may black magic done fb devs.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -