Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2515
Caching components
posted

When the ig.Loader executes to load script required by a page, it seems to make several trips to the server, even if a component has already been loaded, returning code 304. However, even though there is no need to actually download the code, it seems to consume significant time making multiple trips to the server. For a given browser session, can we issue the ig.loader function once to load all components that will be needed, then omit the function in subsequent pages? Will those pages first attempt to use whatever has been cached by the initial call to ig.loader to load scripts/css? What is the best way to use ig.Loader to limit trips to the server to download script, even if the component scripts have already been loaded?

Parents Reply Children
No Data