I am developing a website which is going to be in http. I was trying to include jquery from google cdn.
The answer given here says
using protocol-relative URL lets you easily avoid mixed content security errors.
from google cdn, it is seen as
We recommend that you load libraries from the CDN via HTTPS, even if your own website only uses HTTP.
I see these two as contradictory. Basically, when we have a website in http and using cdn through https, what are the content related errors one can expect? Whay is the recommended approach now?