byuweb / HTML-Templates

Development for BYU responsive theme
http://byuweb.github.io/HTML-Templates/
9 stars 9 forks source link

Assets Reference #82

Closed esng25 closed 11 years ago

esng25 commented 11 years ago

Assets are referencing http:// which will throw warnings when used on a https site.

Instead, it should be written as //resource.file to use whatever protocol the site is currently using, whether it be http or https.

So when referencing the github global assets, I could only get //byuweb.github.com/ to work becuase https://byuweb.github.io doens't have a certificate. The .com reference will redirect to .io and not throw an https insecure content error.

esng25 commented 11 years ago

This is causing a major performance hit on load times. I'm showing it's taking around 9 seconds to load from Github. I sent a message to David Kenison and waiting for follow up.

esng25 commented 11 years ago

All files are now on BYU servers. http://home.byu.edu/home/sites/default/files/global/*