Unity WebGL custom block
I've been tasked with creating custom block to show webgl content, exported from Unity3D. I've done the showing and editing part, but the block is not caching. Going from page to page (that use the same block and webgl files), again downloads player which downloads corresponding assets files (and those are not small).
Does anyone have any experience with this kind of problem or an idea or link in the right direction?
I suspect you now need cache headers for your JS/CSS assets and GL files. The GL files would be completely independent of any c5 caching and you need to tell browsers to cache them. You also need to tell browsers to cache the JS/CSS from c5.
The easiest way to do that is with .htaccess. Do a google for 'htaccess cache headers' and you should get plenty of information about how to use htaccess to add cache headers for particular file types.