Nit: So this True/False thing is funny looking. I'd tweak this to use keyword arguments for better clarity:

```
cache.delete(self.html_cache_key(mobile=True))
cache.delete(self.html_cache_key(mobile=False))
```