Option to turn off loading of isotope JS, polaroid gallery, and NoUI missing

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Option to turn off loading of isotope JS, polaroid gallery, and NoUI missing

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #33849
    Zegal86
    Zegal86
    Participant

    Hello
    We activated Automatic Updates with purchase code (https://zegal.com/)

    then when tried to updated plugin, update did not success but when we refresh plugin page it shows latest version.

    We want to ‘Turn off unused scripts’ as shown in documentation : https://documentation.ajaxsearchpro.com/performance-tuning/visual-performance

    but when checking Compatibility Settings submenu -> CSS and JS loading
    did not get option for on/off loading of isotope JS, polaroid gallery, and NoUI slider.
    attached screenshot.

    also tried to download manually updated version but did not get the link to download
    (Download the new version from your codecanyon downloads page )

    how and where we can get option to turn off loading of isotope JS, polaroid gallery, and NoUI slider

    Regards
    Thankyou

    Attachments:
    You must be logged in to view attached files.
    #33853
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    These options have been removed in the recent releases – now the plugin automatically detects if the scripts are required, and only enqueues the neccessary javascript files.
    The documentation will be updated soon with these changes, once we get there πŸ™‚

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #33854
    Zegal86
    Zegal86
    Participant

    Hi Ernest,

    That explains it πŸ™‚

    Could you advise the settings that need amending to not use these functions?
    We notice that files like isotope.js are still being loaded.

    Especially as whilst the load is async – it’s still triggering before critical LCP – we’re looking to remove these functions or delay them even further.

    Edit: Found it – we had it enabled for a minor search bar. We’ll adjust our usage accordingly. No further questions (although the timing of the loading of async assets could still be further optimised for sites really looking for speed ? )

    • This reply was modified 1 year, 2 months ago by Zegal86 Zegal86.
    #33855
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    There is no separate file for isotope.js in this new release – all essentials are combined into multiple different dependency files together (only a few exceptions). If you are seeing an isotope.js loaded, then it is coming from a different plugin or the theme.
    The scripts load based on this criteria:
    – The noUI slider is only loaded if a custom field filter with a slider feature is used.
    – The isotope is loaded if the isotopic layout is used, or either the masonry layout is used for the settings.
    – The ploaroid gallery JS is only used when the polaroid layout is used for the live search results

    I checked the source code of your site, and the smallest of the combined files is enqueued, which means these modules are not loaded, only the core plugin file – it is fully optimized πŸ™‚

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #33857
    Zegal86
    Zegal86
    Participant

    Thanks Ernest just edited post to confirm I found one bar had isotopic results and has been changed. All good πŸ™‚ Thanks and have a nice day.

    #33858
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.