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 has 5 replies, 2 voices, and was last updated 4 years, 11 months ago by
Ernest Marcinko.
-
AuthorPosts
-
July 6, 2021 at 9:52 am #33849
Zegal86
ParticipantHello
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
ThankyouJuly 6, 2021 at 11:45 am #33853Ernest Marcinko
KeymasterHi,
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 🙂July 6, 2021 at 2:59 pm #33854Zegal86
ParticipantHi 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 4 years, 11 months ago by
Zegal86.
July 6, 2021 at 3:07 pm #33855Ernest Marcinko
KeymasterThere 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 resultsI 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 🙂
July 6, 2021 at 3:13 pm #33857Zegal86
ParticipantThanks 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.
July 7, 2021 at 6:14 am #33858Ernest Marcinko
KeymasterYou cannot access this content.
-
This reply was modified 4 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.