So for some strange reason my Ajaxified calendar block is stuck in the past. I've cleared my cache, flushed boost, disabled/re-enabled Ajaxify regions module, etc.. nothing works!

Has anyone else noticed this before? I can't figure out why it's stuck on Saturday.

For a live example check out my site
http://www.ivawbeta.org/

Comments

warobushek’s picture

Your link does not work.
May be CTRL+F5 or CTRL-SHIFT-DEL ?

bryancasler’s picture

Ya, I am working on the site right now.

I did notice that Boost was caching JSON, so I turned that off. Once everything is stable again I will see if the problem still persist.

csevb10’s picture

I am interested in how this turns out, but I do have to say that that is the best issue title I've seen in awhile. :-)

bryancasler’s picture

Turning off JSON caching seems to have worked. Can't say for certain, but I haven't had the problem since.

mikeytown2’s picture

hmmm sounds like I need a separate default cache lifetime for ajax in boost.

@animelion
whats your cache lifetime set at in boost?

bryancasler’s picture

It was 6 hours, and the calendar would be 2-3 days old sometimes even though the boost cache for the page had been regenerated.

ClearXS’s picture

Nice title; first thought was that you were insulting the module developer; that his module was stuck in the past.

But without that, I'm hesitating installing this module and many other ajax modules. For D7 most will be thrown away in favor of some AHAH ajax methods and maybe there will be some back-ports soon. Then I had many errorss with ajax java jquery and even mys site completely lost. Actually I'm repairing the site now for 5 months and don't want to put articles back untill the site is stable, what it isn't with these many modules to sort out. Should I install this module, or wait?

ClearXS’s picture

Have no idea, but maybe this adds to the discussion: http://drupal.org/project/ajaxcache

bryancasler’s picture

The module has been working great for me once I turned off boost's JSON caching. It's also the perfect companion for authcache.

mikeytown2’s picture

exclude ajaxify path in boost. 3 ways

In boost config

ajaxify_regions/ajax

Or

$args = arg()
if ($args[0] == 'ajaxify_regions' && args[1] == 'ajax') {
  return FALSE;
}

In module

/**
* Implementation of hook_boost_is_cacheable().
*/
function ajaxify_regions_boost_is_cacheable($path) {
  // Do not cache if $path is ajaxify_regions/ajax
  if ($path == 'ajaxify_regions/ajax') {
    return FALSE;
  }

  return TRUE;
}
Marko B’s picture

Thanx Mikey, this should be in some official documentation.