sobrenome Posted February 3, 2015 Share Posted February 3, 2015 What is the best way to add custom javascript code in IPS 4 to get the advantages of "combine" and cache? Link to comment Share on other sites More sharing options...
sobrenome Posted February 9, 2015 Author Share Posted February 9, 2015 Anyone? Link to comment Share on other sites More sharing options...
Kevin Carwile Posted February 10, 2015 Share Posted February 10, 2015 When you create an app or a plugin, then the javascript that you write gets compiled and packaged. However, other than that, you need to upload your scripts to your site and reference them in your templates where you want to use them.As Ive been working on a few projects myself where I needed to use some 3rd party libraries such as jquery ui and bootstrap, I realized that things were going to get real hairy if every plugin or app that I build bundles in its own copy. So I built a libraries app that acts as a central repository for 3rd party javascript and any apps that want to use it can just share it from there. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.