You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With memcached enabled, the cache report page this app generates gets cached as well. By adding the appropriate cache_page directives in the urls.py file or the views.py file, this issue can be resolved. I added the following to the views.py file to fix this problem:
You can also do something similar in the urls.py file. Without this fix, the status page shown by this app remains cached, and does not show any updates.
The text was updated successfully, but these errors were encountered:
edavis
pushed a commit
to edavis/django-memcached
that referenced
this issue
Nov 21, 2011
With memcached enabled, the cache report page this app generates gets cached as well. By adding the appropriate cache_page directives in the urls.py file or the views.py file, this issue can be resolved. I added the following to the views.py file to fix this problem:
from django.views.decorators.cache import cache_page
...
@cache_page(0)
def server_list(request):
...
@cache_page(0)
def server_status(request, index):
...
You can also do something similar in the urls.py file. Without this fix, the status page shown by this app remains cached, and does not show any updates.
The text was updated successfully, but these errors were encountered: