WebFaction
Community site: login faq

Hi,

I have setup memcacached for my entire django site. However, some ajax requests do not work. They keep fetching old data. How can I force those ajax requests to reload from database instead from cache?

asked 18 May '12, 06:00

xpanta
623244
accept rate: 0%


To disable caching for your Ajax requests, you'd have to use Django's cache_control view decorator. More information is available in Django's docs.

permanent link

answered 18 May '12, 06:27

todork
1.2k5
accept rate: 34%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×34
×8

question asked: 18 May '12, 06:00

question was seen: 2,750 times

last updated: 18 May '12, 06:27

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM