I have a page that Im using to display various content through a combination of REST calls. Originally I had my image, css, and js files stored in Site Assets, but ended up moving them to Style Library as the performance seems to be a bit better. Still, some images, even those ~5kb, have sporadic loading times ranging from the expected few MS to several seconds. These load times vary for all files each time I load my page. Sometimes File A will load quickly and File B will take 5+ seconds. The next time I refresh the page File A will take 5+ seconds and File B will load quickly (caching accounted for).
Does anyone know if there are any places within SP that allow for more efficient loading times than Style Library or Site Assets? Or is this just something that is inherent to a SPO environment?