create a custom cache for sttic file loading