png and ttf file caching