improved temporal resources caching and removal