[#266] directly define the cache list as a var instead of using a function