I have a project where we are running several different kind of operations on front end. Each of those kinds of operations are contained in a library, say Lib1, Lib2, Lib3 etc... Each of those libs are really heavy, and under most circumstances users doesnt need any of the libs.
Is it possible to build a front end logic that upon operation request by our server, will load the needed library ?
A little example to make it clearer : Back end wants user to do operation 1, the front end is informed by our API and given an URL in argument. Front end then download the Lib1. After Lib 1 is successfully downloaded front end Js calls its functions.
Thanks for your help !
Aucun commentaire:
Enregistrer un commentaire