Jump to content

Issue Information

  • #000605

  • 0 - None Assigned

  • New

  • 2.4

  • -

Issue Confirmations

  • Yes (0)No (0)

More web performance - PageSpeed template_top, header_tags and 1 more...

Posted by Gergely on 04 June 2013 - 19:01


I took some test with a live v2.3.3 store static index.html by optimized and non-optimized way. There were 7 different points in pagespeed results. I think would be very usefull if osCommerce v2.4 will use separated sections in the template_top.php due to sort order problems.

I suggest the next modification:

<?php echo $oscTemplate->getBlocks('header_tags'); ?>

<?php echo $oscTemplate->getBlocks('header_tags_ext_css'); ?>
<?php echo $oscTemplate->getBlocks('header_tags_ext_script'); ?>
<?php echo $oscTemplate->getBlocks('header_tags'); ?>

This modification solve the most of module group class names sort order, pagespeed and rendering problems. Most of extended css links and scripts could be handle in cache, gzip and expired headers in htaccess or in other mod.

Thanks @acidvertigo who posted this problem before.