PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Seraphinite Accelerator lazy load

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Please can you reach out to these people and fix your plugin for lazy load - Support - Seraphinite Solutions <support@s-sols.com>

They are very responsive and have been trying to help me, but I think you need to work together.

I have tried to set inline javascript to not lazy load, plus all items in woocommerce-currency-switcher

I also tried preloading
function add_preload_scripts_to_product_pages() {
if (is_product() || is_product_category()) { // Check if it's a product page or category page
echo '
<link rel="preload" href="/wp-content/plugins/woocommerce-currency-switcher/js/front.js" as="script">
<link rel="preload" href="/wp-content/plugins/woocommerce-currency-switcher/js/wselect/wSelect.min.js" as="script">
<link rel="preload" href="/wp-content/plugins/woocommerce-currency-switcher/js/chosen/chosen.jquery.min.js" as="script">
<link rel="preload" href="/wp-content/plugins/woocommerce-currency-switcher/js/jquery.ddslick.min.js" as="script">
<link rel="preload" href="/wp-content/plugins/woocommerce-currency-switcher/js/price-slider_33.js" as="script">
';
}
}
add_action('wp_head', 'add_preload_scripts_to_product_pages');

this may be of use too

 

  • Note. It can be added here automatically in program code by specifying seraph-accel-crit attribute like this<script seraph-accel-crit="1">.

So after a few days with one on one support from Seraphinite Solutions for their accelerator, they have fixed the problem for me by excluding fox session and by not lazy loading some content and scripts.

My page speed however has gone from 99/100 to 63/65 , mostly because we have to load jquery; is there a way to solve this https://pagespeed.web.dev/analysis/https-shop-scanimals-net-index-php-product-enchanted-snake/1xauzqnvsr?form_factor=mobile ?

I was thinking, is jquery only needed if a user is switching from one currency to another? or from our base currency to another? or all the time?

Hello

Unfortunately JQuery is needed all the time