Reuse previousExtent_ local variable
Merge pull request #3056 from fredj/memory-extent

Reuse previousExtent_ local variable
Cache the buffered extent value

Assuming that the maxExtent and resolution property are immutable