Resource Cache Optimize