Changeset 9572 for src/django_gheat


Ignore:
Timestamp:
Aug 25, 2011, 3:11:35 PM (13 years ago)
Author:
rick
Message:

Disable the Tile cache, as caching is not wanted (during development) or done externally (by httpd).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/tile.py

    r9571 r9572  
    262262
    263263# Create your views here.
    264 @cache_page(60 * 60 * 24, cache="tile_cache")
     264# N.B: This cache is handly is you are using in standalone mode
     265#@cache_page(60 * 60 * 24, cache="tile_cache")
    265266def serve_tile(request,zoom,x,y):
    266267  im = pre_process_tile(request,zoom,x,y)
Note: See TracChangeset for help on using the changeset viewer.