Disable AJAX response cache

Hi,

i have a problem with Comet Cache and a page with Visual Composer and Media Grid.

Media Grid make an ajax call to load the images … at first it works but stops working after 1 day. The page loads but without content and if I open the ajax response, is empty.

How can I solve? Thanks.

@boombari We have a GitHub issue open for compatibility with Visual Composer Post Grid. The lead developer of that plugin suggested using the following filter:

add_filter('vc_grid_get_grid_data_access','__return_true');

Does that help?

Seems work after 24h of cache! Thanks!

Hi,

I’m having this same problem. Can you tell me where you’re adding the filter?

Thanks!

adding
“add_filter(‘vc_grid_get_grid_data_access’,’__return_true’);”
in functions.php

Thank you @boombari!