Improved dynamic graphics caching