Hi, I've tested this module on our drupal 6.x site, and it definitely makes the page feel quicker. However, it seems to break gmaps created with the gmap module. I'm using the latest version of gmap (6.x-1.1). With headjs enabled, wherever a map is supposed to appear there is just white space and the sentence "Javascript is required to view this map."

Comments

sja1’s picture

More info: Using firefox v3.6 browser I tested with both full version and loader version setting, and with the drupal javascript aggregation setting both on and off, and all combinations of the two (full version, aggregation off; full version, aggregation on; Loader version, aggregation off; loader version, aggregation on). The problem persisted in all cases.

sja1’s picture

More info:

Maybe seeing the head section with and withoud headjs enabled will give some clues as to the problem:

head section with headjs disabled

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Campus Barcelona (ESEC) - Toulouse Business School | Y Ahora Que</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://maps.google.com/maps?file=api&amp;v=2.115&amp;key=ABQIAAAAIHRee1IvvwZb4MMs81-OBhQttvqTD3Lx3VEx4VeugXyIe45xxhQwiypC_v8C875JHfSo1yfkq5EpKg&amp;hl=es" type="text/javascript"></script>
<link rel="shortcut icon" href="/drupal_downloads/mysite_acq_favicon.jpg" type="image/x-icon" />
<!-- mysite - BEGIN items added by our theme -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
<!-- TradeDoubler site verification 1378608 -->
<script type='text/javascript' src='http://d1.openx.org/spcjs.php?id=3168'></script>

<!-- mysite - END items added by our theme -->
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/modules/admin_menu/admin_menu.css?W" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal_downloads/ctools/css/0bc8a23bbe7b827a088780df51a1f8e6.css?W" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal_downloads/ctools/css/65b5abf9e626bb7823634a66d6b06507.css?W" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal_downloads/css/css_7b62a83f5f5f88b9ec9091f71b961e21.css" />
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/grid16-992.css" />
  <!--[if IE 8]>
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/fusion/fusion_core/css/ie8-fixes.css" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/ie8-fixes.css" />
  <![endif]-->
  <!--[if IE 7]>
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/fusion/fusion_core/css/ie7-fixes.css" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/ie7-fixes.css" />
  <![endif]-->
  <!--[if lte IE 6]>
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/fusion/fusion_core/css/ie6-fixes.css" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/ie6-fixes.css" />
  <![endif]-->
    <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/local.css" />
    <script type="text/javascript" src="/sites/mysite.es/modules/jquery_update/replace/jquery.min.js?W"></script>

<script type="text/javascript" src="/misc/drupal.js?W"></script>
<script type="text/javascript" src="/drupal_downloads/languages/es_0bcc9b1d9fde4ed1b5b64805e112b711.js?W"></script>
<script type="text/javascript" defer="defer" src="/sites/mysite.es/modules/admin_menu/admin_menu.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/panels/js/panels.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/user_relationships/user_relationships_ui/user_relationships_ui.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/views_slideshow/js/jquery.cycle.all.min.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/views_slideshow/contrib/views_slideshow_singleframe/views_slideshow.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/views_slideshow.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/gmap_views_ajax.js?W"></script>

<script type="text/javascript" src="/sites/mysite.es/modules/views/js/base.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/views/js/ajax_view.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/gmap.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/marker.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/highlight.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/gmap_marker.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/poly.js?W"></script>
<script type="text/javascript" src="/drupal_downloads/js/gmap_markers.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/icon.js?W"></script>

<script type="text/javascript" src="/sites/mysite.es/modules/gmap/js/markerloader_static.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/fusion/fusion_core/js/jquery.bgiframe.min.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/fusion/fusion_core/js/hoverIntent.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/fusion/fusion_core/js/supposition.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/fusion/fusion_core/js/supersubs.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/fusion/fusion_core/js/superfish.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/fusion/fusion_core/js/screenshot.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/fusion/fusion_core/js/script.js?W"></script>
<script type="text/javascript" src="/sites/mysite.es/themes/mysite_acq/js/jquery.corner.js?W"></script>

<script type="text/javascript" src="/sites/mysite.es/themes/mysite_acq/js/acquia-marina-script.js?W"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1, "position_fixed": 1 }, "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip" }, "user_relationships_ui": { "loadingimage": "/sites/mysite.es/modules/user_relationships/user_relationships_ui/images/loadingAnimation.gif", "savingimage": "/sites/mysite.es/modules/user_relationships/user_relationships_ui/images/savingimage.gif", "position": { "position": "absolute", "left": "0", "top": "-100" } }, "viewsSlideshowSingleFrame": { "#views_slideshow_singleframe_main_slideshow-panel_pane_1": { "num_divs": 6, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "vss_id": "slideshow-panel_pane_1", "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "start_paused": 0, "delay": "0", "fixed_height": "1", "random": "0", "pause": "1", "pause_on_click": "0", "pause_when_hidden": 0, "pause_when_hidden_type": "full", "amount_allowed_visible": "", "remember_slide": 0, "remember_slide_days": "1", "controls": "0", "items_per_slide": "1", "pager": "2", "pager_type": "Thumbnails", "pager_hover": "2", "pager_click_to_page": 0, "image_count": "0", "nowrap": "0", "sync": "1", "advanced": "", "ie": { "cleartype": "true", "cleartypenobg": "false" } } }, "views": { "ajax_path": "/views/ajax", "ajaxViews": [ { "view_name": "slideshow", "view_display_id": "panel_pane_1", "view_args": "18629", "view_path": "node/18629", "view_base_path": null, "view_dom_id": 2, "pager_element": 0 } ] }, "gmap_markermanager": [  ], "gmap": { "auto1map": { "width": "100%", "height": "300px", "zoom": 5, "maxzoom": "14", "controltype": "Small", "align": "None", "maptype": "Map", "mtc": "standard", "baselayers": { "Map": 1, "Satellite": 1, "Hybrid": 1, "Physical": 1 }, "styles": { "line_default": [ "0000ff", "5", "45", "", "" ], "poly_default": [ "000000", "3", "25", "ff0000", "45" ] }, "line_colors": [ "#00cc00", "#ff0000", "#0000ff" ], "behavior": { "locpick": false, "nodrag": 0, "nokeyboard": 1, "nomousezoom": 1, "nocontzoom": 0, "autozoom": 1, "dynmarkers": 0, "overview": 0, "collapsehack": 0, "scale": 0, "extramarkerevents": false, "clickableshapes": false }, "markermode": "1", "id": "auto1map", "markers": [ { "latitude": 41.388883, "longitude": 2.174945, "markername": "lblue", "offset": 0, "opts": { "title": "", "highlight": 0, "highlightcolor": "#FF0000" }, "text": "\x3cdiv class=\"gmap-popup\"\x3e  \n  \x3cdiv class=\"views-field-title\"\x3e\n                \x3cspan class=\"field-content\"\x3e\x3ca href=\"/centro/esec-toulouse-business-school/esec-toulouse-business-school-campus-barcelona\"\x3eESEC – Toulouse Business School - Campus de Barcelona\x3c/a\x3e\x3c/span\x3e\n  \x3c/div\x3e\n  \n  \x3cdiv class=\"views-field-street\"\x3e\n                \x3cspan class=\"field-content\"\x3eC/ Trafalgar, 10\x3c/span\x3e\n  \x3c/div\x3e\n  \n  \x3cdiv class=\"views-field-nid\"\x3e\n                \x3cspan class=\"field-content\"\x3e\x3ca href=\"/centro/esec-toulouse-business-school/esec-toulouse-business-school-campus-barcelona\"\x3eVer titulaciones ofrecidas aquí\x3c/a\x3e\x3c/span\x3e\n  \x3c/div\x3e\n\x3c/div\x3e" } ], "longitude": "-4.6142578125", "latitude": "40.48038142908172" } } });
//--><!]]>
</script>
</head>

Head section with headjs enabled

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Campus Barcelona (ESEC) - Toulouse Business School | Y Ahora Que</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://maps.google.com/maps?file=api&amp;v=2.115&amp;key=ABQIAAAAIHRee1IvvwZb4MMs81-OBhQttvqTD3Lx3VEx4VeugXyIe45xxhQwiypC_v8C875JHfSo1yfkq5EpKg&amp;hl=es" type="text/javascript"></script>
<link rel="shortcut icon" href="/drupal_downloads/mysite_acq_favicon.jpg" type="image/x-icon" />
<!-- mysite - BEGIN items added by our theme -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
<!-- TradeDoubler site verification 1378608 -->
<script type='text/javascript' src='http://d1.openx.org/spcjs.php?id=3168'></script>

<!-- mysite - END items added by our theme -->
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/modules/admin_menu/admin_menu.css?W" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal_downloads/ctools/css/0bc8a23bbe7b827a088780df51a1f8e6.css?W" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal_downloads/ctools/css/65b5abf9e626bb7823634a66d6b06507.css?W" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal_downloads/css/css_7b62a83f5f5f88b9ec9091f71b961e21.css" />
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/grid16-992.css" />
  <!--[if IE 8]>
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/fusion/fusion_core/css/ie8-fixes.css" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/ie8-fixes.css" />
  <![endif]-->
  <!--[if IE 7]>
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/fusion/fusion_core/css/ie7-fixes.css" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/ie7-fixes.css" />
  <![endif]-->
  <!--[if lte IE 6]>
  <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/fusion/fusion_core/css/ie6-fixes.css" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/ie6-fixes.css" />
  <![endif]-->
    <link type="text/css" rel="stylesheet" media="all" href="/sites/mysite.es/themes/mysite_acq/css/local.css" />
    <script type="text/javascript" src="/sites/mysite.es/modules/headjs/headjs/head.min.js?W"></script>

<script type="text/javascript">
<!--//--><![CDATA[//><!--
head.js("misc/jquery.js").js("misc/drupal.js").js("drupal_downloads/languages/es_0bcc9b1d9fde4ed1b5b64805e112b711.js").js("sites/mysite.es/modules/admin_menu/admin_menu.js").js("sites/mysite.es/modules/panels/js/panels.js").js("sites/mysite.es/modules/user_relationships/user_relationships_ui/user_relationships_ui.js").js("sites/mysite.es/modules/views_slideshow/js/jquery.cycle.all.min.js").js("sites/mysite.es/modules/views_slideshow/contrib/views_slideshow_singleframe/views_slideshow.js").js("sites/mysite.es/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/views_slideshow.js").js("sites/mysite.es/modules/gmap/js/gmap_views_ajax.js").js("sites/mysite.es/modules/views/js/base.js").js("sites/mysite.es/modules/views/js/ajax_view.js").js("sites/mysite.es/modules/gmap/js/gmap.js").js("sites/mysite.es/modules/gmap/js/marker.js").js("sites/mysite.es/modules/gmap/js/highlight.js").js("sites/mysite.es/modules/gmap/js/gmap_marker.js").js("sites/mysite.es/modules/gmap/js/poly.js").js("drupal_downloads/js/gmap_markers.js").js("sites/mysite.es/modules/gmap/js/icon.js").js("sites/mysite.es/modules/gmap/js/markerloader_static.js").js("sites/mysite.es/themes/fusion/fusion_core/js/jquery.bgiframe.min.js").js("sites/mysite.es/themes/fusion/fusion_core/js/hoverIntent.js").js("sites/mysite.es/themes/fusion/fusion_core/js/supposition.js").js("sites/mysite.es/themes/fusion/fusion_core/js/supersubs.js").js("sites/mysite.es/themes/fusion/fusion_core/js/superfish.js").js("sites/mysite.es/themes/fusion/fusion_core/js/screenshot.js").js("sites/mysite.es/themes/fusion/fusion_core/js/script.js").js("sites/mysite.es/themes/mysite_acq/js/jquery.corner.js").js("sites/mysite.es/themes/mysite_acq/js/acquia-marina-script.js")
.ready(function(){jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1, "position_fixed": 1 }, "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip" }, "user_relationships_ui": { "loadingimage": "/sites/mysite.es/modules/user_relationships/user_relationships_ui/images/loadingAnimation.gif", "savingimage": "/sites/mysite.es/modules/user_relationships/user_relationships_ui/images/savingimage.gif", "position": { "position": "absolute", "left": "0", "top": "-100" } }, "viewsSlideshowSingleFrame": { "#views_slideshow_singleframe_main_slideshow-panel_pane_1": { "num_divs": 6, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "vss_id": "slideshow-panel_pane_1", "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "start_paused": 0, "delay": "0", "fixed_height": "1", "random": "0", "pause": "1", "pause_on_click": "0", "pause_when_hidden": 0, "pause_when_hidden_type": "full", "amount_allowed_visible": "", "remember_slide": 0, "remember_slide_days": "1", "controls": "0", "items_per_slide": "1", "pager": "2", "pager_type": "Thumbnails", "pager_hover": "2", "pager_click_to_page": 0, "image_count": "0", "nowrap": "0", "sync": "1", "advanced": "", "ie": { "cleartype": "true", "cleartypenobg": "false" } } }, "views": { "ajax_path": "/views/ajax", "ajaxViews": [ { "view_name": "slideshow", "view_display_id": "panel_pane_1", "view_args": "18629", "view_path": "node/18629", "view_base_path": null, "view_dom_id": 2, "pager_element": 0 } ] }, "gmap_markermanager": [  ], "gmap": { "auto1map": { "width": "100%", "height": "300px", "zoom": 5, "maxzoom": "14", "controltype": "Small", "align": "None", "maptype": "Map", "mtc": "standard", "baselayers": { "Map": 1, "Satellite": 1, "Hybrid": 1, "Physical": 1 }, "styles": { "line_default": [ "0000ff", "5", "45", "", "" ], "poly_default": [ "000000", "3", "25", "ff0000", "45" ] }, "line_colors": [ "#00cc00", "#ff0000", "#0000ff" ], "behavior": { "locpick": false, "nodrag": 0, "nokeyboard": 1, "nomousezoom": 1, "nocontzoom": 0, "autozoom": 1, "dynmarkers": 0, "overview": 0, "collapsehack": 0, "scale": 0, "extramarkerevents": false, "clickableshapes": false }, "markermode": "1", "id": "auto1map", "markers": [ { "latitude": 41.388883, "longitude": 2.174945, "markername": "lblue", "offset": 0, "opts": { "title": "", "highlight": 0, "highlightcolor": "#FF0000" }, "text": "\x3cdiv class=\"gmap-popup\"\x3e  \n  \x3cdiv class=\"views-field-title\"\x3e\n                \x3cspan class=\"field-content\"\x3e\x3ca href=\"/centro/esec-toulouse-business-school/esec-toulouse-business-school-campus-barcelona\"\x3eESEC – Toulouse Business School - Campus de Barcelona\x3c/a\x3e\x3c/span\x3e\n  \x3c/div\x3e\n  \n  \x3cdiv class=\"views-field-street\"\x3e\n                \x3cspan class=\"field-content\"\x3eC/ Trafalgar, 10\x3c/span\x3e\n  \x3c/div\x3e\n  \n  \x3cdiv class=\"views-field-nid\"\x3e\n                \x3cspan class=\"field-content\"\x3e\x3ca href=\"/centro/esec-toulouse-business-school/esec-toulouse-business-school-campus-barcelona\"\x3eVer titulaciones ofrecidas aquí\x3c/a\x3e\x3c/span\x3e\n  \x3c/div\x3e\n\x3c/div\x3e" } ], "longitude": "-4.6142578125", "latitude": "40.48038142908172" } } });});
//--><!]]>
</script>
</head>
alexweber’s picture

thanks for the detailed bug reports, I'll look into it and if anyone feels like submitting a patch it'd be awesome! :)

alexweber’s picture

Version: 7.x-0.x-dev » 6.x-1.x-dev
Assigned: Unassigned » alexweber
Status: Active » Needs review

fixed in 6.x dev release - please wait for new snapshot before testing. I plan on releasing a beta version today if I can fix enough open issues.
thanks!

alexweber’s picture

Status: Needs review » Closed (fixed)

closing due to 2 weeks of inactivity