test caching frame