#45 ✓resolved
Rusty Klophaus

Disable Ajax caching, just in case

Reported by Rusty Klophaus | April 15th, 2010 @ 10:33 AM | in 2.0.1

Quoth Mike, on the NewsGroup:

I was experiencing some oddness (dead button clicks), but I'm not 100%
sure if caching was involved in the problem, for type "text" ajax
defaults to caching all responses - so I made the addition of

           cache: false,

on lines 177 and 213 to disable caching of the response coming back
from the server. The problem I was having "dead clicks" seemed to
have resolved.

Is it possible that the state and everything would be the same and not
cause a message to be sent due to caching? Either way, I'd rather
explicitly control caching than rely on a default.

Mike

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Nitrogen Web Framework for Erlang

People watching this ticket

Referenced by

Pages