openlayers/ol3 — pull request #438 by twpayne (2013-04-09 20:15:47+00:00)
Title: Tile limits are too low

Currently:

* [Each tile source caches about 512 tiles](https://github.com/openlayers/ol3/blob/master/src/ol/tilecache.js#L11)
* [Only 1024 WebGL textures are preserved](https://github.com/openlayers/ol3/blob/master/src/ol/renderer/webgl/webglmaprenderer.js#L34)

These limits are *way* too low, and normal interaction with the map quickly results in tiles/textures being reloaded. We should set more appropriate limits.

Notes:
- one 256x256 pixel tile in 32-bit color is 256Kb uncompressed
- the browser already does a lot of caching (to both RAM and disk), we can push up the number of tiles and the browser will do a good job, even when we push too hard