fix RESOURCE_SERVER cache bug