now sleeps when caching is enabled but resource fetched from internet ; close #28