method cache using django's cache framework