Ajax Apply Button does not clear of cache

More
6 years 4 months 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
6 years 4 months ago #70819 by iamrobert

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

More
6 years 4 months 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'):
github.com/FLEXIcontent/flexicontent-cck...e/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...

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

More
6 years 4 months 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:
Code:
$("#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
Time to create page: 0.289 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline