{% extends "manage/base.html" %} {% block page_title %}{{ super() }} - Analyze Model Fetches{% endblock %} {% block admin_title %}Analyze Model Fetches{% endblock %} {% block mainbody %}
| API / URL | # Uses | Times (sec) | ||||
|---|---|---|---|---|---|---|
| Hits | Misses | Both | Hits | Misses | Both | |
| {{ truncatechars(item, 150) }} | {{ info['uses']['hits'] }} | {{ info['uses']['misses'] }} | {{ info['uses']['both'] }} | {{ info['times']['hits'] | msec2sec }} | {{ info['times']['misses'] | msec2sec }} | {{ info['times']['both'] | msec2sec }} |
How This Works
Every time our Django views need data from the middleware, a bean counter is incremented on it being used, how long it took and whether or not it was able to draw from the cache.