implemented static assert for cache_entry struct