Lazyload Images Using Pagespeed_Mod

Hi,

I've installed Google's pagespeed_mod on our server and activated the Lazyload Images filter as described here: https://developers.google.com/speed/pagespeed/module/filter-lazyload-images

Unfortunately, it does not seem to make any difference.

Has anyone else managed to use this, or can anyone help?

Thanks

Hi,

did anyone have time to look at this?

Thanks

Hi,

did anyone have time to look at this?

Thanks

have you changed to lazy loading in the cs config file

Hi and thanks for replying.

Did you mean in the pagespeed.conf file?

If so, yes, I've enabled it:

ModPagespeedEnableFilters lazyload_images

Or did you mean a CS Cart config file?

In that case, could you please show me which file you are referring to?

Thanks

/config.local.php

// Tweaks
$config['tweaks'] = array (
    // Whether to remove any javascript code from description and name of product, category, etc.
    // Auto - false for ULT, true for MVE.
    'sanitize_user_html' => 'auto',
    'anti_csrf' => true, // protect forms from CSRF attacks
    'disable_block_cache' => false, // used to disable block cache
    'disable_localizations' => true, // Disable Localizations functionality
    'disable_dhtml' => false, // Disable Ajax-based pagination and Ajax-based "Add to cart" button
    'dev_js' => false, // set to true to disable js files compilation
    'redirect_to_cart' => false, // Redirect customer to the cart contents page. Used with the "disable_dhtml" setting.
    'api_https_only' => false, // Allows the use the API functionality only by the HTTPS protocol
    'api_allow_customer' => false, // Allow open API for unauthorized customers
    'lazy_thumbnails' => false, // generate image thumbnails on the fly
    'image_resize_lib' => 'auto', // library to resize images - "auto", "gd" or "imagick"
    'products_found_rows_no_cache_limit' => 100, // Max count of SQL found rows without saving to cache
);

Hi and thanks for replying.

I've set 'lazy_thumbnails' to true and rebooted my server but unfortunately it made no difference.

I also disabled pagespeed_mod to be sure.

I'm on version 4.2.4 if that makes a difference?

Thanks

Default cs cart lazy images only work on images not seen using the scroller template.

Ahh, OK thank you.

Ahh, OK thank you.

have you regenerated images and thumbnails...

sorry...this was a suggestion to imagick... can't delete this