Ignore:
Timestamp:
Jul 12, 2011, 3:58:11 PM (13 years ago)
Author:
rick
Message:

Giving the cache a special key, allows the cache to be cleared more easy.

File:
1 edited

Legend:

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

    r9391 r9398  
    1616
    1717# Create your views here.
    18 @cache_page(60 * 60 * 24 * 7)
     18@cache_page(60 * 60 * 24 * 7, key_prefix="osm_proxy")
    1919def osm_proxy(request,zoom,x,y):
    2020  mirror = random.choice(['a','b','c'])
Note: See TracChangeset for help on using the changeset viewer.