This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Django cache buster view | |
# https://gist.github.com/bryanchow/4fd80e38a75be3c4e64560de2e7fd76e | |
from django.core.cache import cache | |
from django.utils.cache import get_cache_key | |
from django.shortcuts import redirect | |
def bust_cache(request, path): | |
""" |
OlderNewer