@import url("http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin");

needs to change to

@import url("https://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin");

I believe you can even remove the https:// part but didnt try it.. figure might as well load it in https always

Comments

mheinke’s picture

thank you for the fix,

i am adding this to the next release

mheinke’s picture

Status: Needs work » Fixed

updated in version 1.7 :)

thank you!

mheinke’s picture

Status: Fixed » Closed (fixed)
KeepXtreme’s picture

Issue summary: View changes

@import url("https://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin");

should be: @import url("//fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin");

cause: in this format, the connection (http/https) depends on the connection to the server holding the website. Thus a http-site is not slowed down by the https handshake to the google servers which means an improvment in the site load speed as this is passed primary accordingly to tools.pingdom.com

Reference: http://stackoverflow.com/questions/4659345/is-there-any-downside-for-usi...

also use
instead of @import:
http://www.stevesouders.com/blog/2009/04/09/dont-use-import/

or even better, use the drupal function to load external css:

drupal_add_css('//fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin', array('type' => 'external'));

referer: https://drupal.org/node/171209

KeepXtreme’s picture

Version: 7.x-1.5 » 7.x-2.02
Assigned: greenwork » Unassigned
Category: Bug report » Task
Priority: Normal » Minor
Status: Closed (fixed) » Needs work

  • mheinke committed 1a64b44 on 7.x-2.x
    Issue #1953864 by KeepXtreme,mheinke: a dumb mistake - using https to...
mheinke’s picture

Status: Needs work » Fixed
mheinke’s picture

Status: Fixed » Closed (fixed)