Page 1 of 1

Multiple Jquery uploaded...

Posted: Sat Apr 27, 2024 9:51 pm
by Lasa
I'm using WB19.2
I have multiple JQuery min.js- 2.2.4, 3.6.0, 3.6.4, 3.7.0, and 3.7.1 uploaded.
I've made lots of changes over the years adding and subtracting feature... how can I tell which Jquery's are being used?
When I see view source it looks like the only one being used is 3.7.1 ?
Cheers,
Lasa

Re: Multiple Jquery uploaded...

Posted: Sat Apr 27, 2024 10:53 pm
by Lasa
I did a properties on each page and they are all using 3.7.1 min.js
Can I delete the rest?

Re: Multiple Jquery uploaded...

Posted: Sat Apr 27, 2024 11:54 pm
by crispy68
If all your pages are just using the one then yes.

Re: Multiple Jquery uploaded...

Posted: Sun Apr 28, 2024 6:30 pm
by Lasa
Thanks Crispy68.

To test it I changed the name of all the jquery file type from .js to .js2 leaving only 3.7.1 with the correct .js
Tested all the pages and everything worked so, I guess I'm good to go.

I wonder if there is a way to be notified of all the .js not being used?
Thanks,
Lasa

Re: Multiple Jquery uploaded...

Posted: Sun Apr 28, 2024 6:41 pm
by crispy68
There is no way of WB knowing what files you have on the server and whether you need them or not.

Re: Multiple Jquery uploaded...

Posted: Mon Apr 29, 2024 12:07 pm
by Lasa
Makes all the sense in the world.
Thanks,
Lasa