Rewrite skin caching for better performance