Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi Cake!
    I just tested and it fires the function for me on my dev environment.
    Are you saying it fires when you are not using cache?

    Cheers,

    Thread Starter cakePlease

    (@cakeplease)

    That correct, on the first fetch of the data set (when there is no cache and an actual ajax query is made), the Complete callback will work. But on any subsequent page refresh where the actual cache file is being loaded and injected to the DOM, the callback doesnt fire.

    Plugin Author Darren Cooney

    (@dcooney)

    Interesting, my test included 5 pages and worked with cache, when the cache was being built and without cache.

    I’m not sure what the issue would be – I assume your almComplete() function is in your site JS file and not directly in your repeater templates?

    Thread Starter cakePlease

    (@cakeplease)

    Yah, something weird may be going on. I had to migrate to a new server recently, which isnt the problem as it worked after that. Then i tried to update ALM core, and it broke things, so i rolled back to 2.6.3.2. Now the callback doesnt work. Not sure what the issue is.

    But yes, the almComplete function is not within the repeater templates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cache add-on doesnt do almComplete callback?’ is closed to new replies.