Implement more efficient get local resource