kyptov Posted February 17, 2015 Share Posted February 17, 2015 Are the images caches in browser`s cache after loading by PIXI? var imageUrl = 'test.png';PIXI.BaseTexture.fromImage(imageUrl);Or if I want to store images in browser`s cache do I need to add it to DOM? Quote Link to comment Share on other sites More sharing options...
xerver Posted February 17, 2015 Share Posted February 17, 2015 Any request for a resource the browser makes honors HTTP caching. If you have the proper cache headers on your resources being served, when the browser asks for it caching happens. It doesn't matter the method of loading, and you certainly don't have to put it in the DOM. Quote Link to comment Share on other sites More sharing options...
kyptov Posted February 18, 2015 Author Share Posted February 18, 2015 Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.