New feature for CSS Javascript Loader

While working on our Zencart modules which make use of jquery and its plugins extensively, I often run into this issue: one module which is released long ago is set to use 1.4.2 version while another module which has just been released is set to use 1.4.4 (or even 1.5.0). This results in multiple versions of jquery being loaded on the same page and slows down the site (or even stops certain things from working correctly).

To resolve that problem, I have added a new feature to our loader, this feature will greatly help in reducing the risk of loading the same library more than once. If you are a developer, feel free to grab the latest version from github and give it a try, you will find lots of sample code inside.

https://github.com/yellow1912/cjloader

We will continue working on this feature to refine it.

Leave a Reply



Warning: Unknown: open(/tmp/sess_ebd01907ff4d4c822063f3ea4ec7be22, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0