Ajax Apply Button does not clear of cache

More
7 months 3 weeks ago #70814 by rajeshsingh520
when we Save item using,

Apply and reload it saves and clear the cache as well

but when we do Apply it never clear the cache

(We are having pro version of nonnumber cache cleaner in our site www.regularlabs.com/extensions/cacheclea...ial#advanced-options )

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #70819 by iamrobert

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #70832 by ggppdk
Hello

during AJAX saving, we terminate inside the save task,
but we do clean flexicontent cache

which cache is not cleaned ?

I have added cleaning 'com_flexicontent' group too as it contains the Joomla "view" caching data
can you test with (use 'Install via URL'):
https://github.com/FLEXIcontent/flexicontent-cck/archive/3.2.1.x-stable.zip


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
7 months 1 week ago #71043 by iamrobert
The update didn't seem to work for us.

If we add the following code to our admin template app.js - it seems to work:
$("#toolbar-apply_btns_group > div > a").click(function(){
  var d = new Date;
     var urlx = jbase_url_fc + "index.php?cleancache=1&break=1&src=button&time=" + d.toISOString();
  $.ajax({url: urlx, success: function(result){
            $("#system-message-container").append('<div class="alert"><div class="alert-message">'+result+'</div></div>');
            console.log(result);
        }});
});

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.