js for warming up the cache (ammend)