Ignore:
Timestamp:
2015-08-12T23:10:17+02:00 (11 years ago)
Author:
wiktorn
Message:

More performance improvements

  • Use one MemoryTileCache instance per multiple layers. This results in smaller memory footprint when working with many layers
  • fix default maximum TimeToLive in JCS
  • TemplatedWMSTileSource now caches degreesPerZoom, so it's not computed on every request
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java

    r8624 r8659  
    3939
    4040    private static volatile CompositeCacheManager cacheManager = null;
    41     private static long maxObjectTTL        = Long.MAX_VALUE;
     41    private static long maxObjectTTL        = -1;
    4242    private static final String PREFERENCE_PREFIX = "jcs.cache";
    4343    private static final AuxiliaryCacheFactory diskCacheFactory = new IndexedDiskCacheFactory();
Note: See TracChangeset for help on using the changeset viewer.