Tagged: x
-
AuthorPosts
-
May 14, 2016 at 2:38 am #990985
Hello again,
Ok, I think I resolved that functions.php error. Was something to do with the pagination code for mobile you gave me a few weeks back. I removed it at a guess, and things seemed to have returned to “normal”, albeit with Ess Grid still having the same problem.
Feel free to troubleshoot that mobile pagination code whilst you’re here.
May 14, 2016 at 3:11 am #991016This reply has been marked as private.May 19, 2016 at 12:39 am #998841Hello Rad,
You were correct. Something died horribly during the migration. Seems I’m not having much luck. I had to rebuild the site(s) from scratch.
Alas, now I have a NEW issue -:
The grids are not updating, unless I go into the setting for each grid, and select the “category” again. It’ll then populate with the new posts.
It’s like a caching issue? Although, I have no caching enabled. I’ve running virtually no plugin’s.
Could there be any reason for this I am not thinking of?…
Thanks kindly once more for your time and support!
May 19, 2016 at 2:39 am #998954Top update;
Ok, so I discovered it’s running it’s own cache. If I delete it, it’ll load the new posts. However; it’ll then cache again and not update.
Is this broken? Is there a way to force clear the cache? Or worst case; disable it entirely?
Thanks!
May 19, 2016 at 3:26 am #999011Hi there,
Yes, that’s the purpose of caching. It’s to hold content and resource for given time so it won’t load the latest content which requires processing power. Hence, you’ll have to clear caching every time your made some change. Or, if you’re in the middle of development, then it’s best to disable all caching while you’re on that.
If you have to host specific caching, then you don’t need to use a plugin. And same way, you should clear caches after applying some change or disable it during development.
Thanks!
May 19, 2016 at 4:51 am #999116Hello,
I understand caching is meant to cache. However; shouldn’t it also clear? How long does this “cache” for before updating itself?
I simply want it to show “new” posts, alas, unless I clear the cache it doesn’t.
Is this truly how it’s meant to be?
May 19, 2016 at 4:56 am #999123I found this, which looks like it can disable caching;
// code can be added to your themes functions.php file
add_filter(‘essgrid_query_caching’, ‘eg_stop_caching’, 10, 2);
add_filter(‘essgrid_get_posts’, ‘eg_mod_query’, 10, 2);// turn off caching for your grid
function eg_stop_caching($do_cache, $grid_id) {if($grid_id == YOUR_GRID_ID) return false;
return true;}
function eg_mod_query($query, $grid_id){
if($grid_id == YOUR_GRID_ID) {
//modify $query to your likings
}return $query;
}
I’d like to keep caching though. I can’t find how long it’s meant to actually cache for, before updating? Surely there is a life-span of the cache? Or some trigger that actually updates it?
Ideally I’d like to keep cache, and have it ‘re-cache’ every 30 minutes or so.
May 19, 2016 at 2:37 pm #1000107Hi there,
I can’t really answer that as it depends on your setting, feature, or plugin. It’s best to contact plugin author or your hosting provider (if they have cache feature). Some are permanent and cleared only upon editing of a post/page. But not all areas are cleared especially if the content is generated from shortcode that comes from another cache.
Thanks!
June 10, 2016 at 9:21 pm #1036819This reply has been marked as private.June 10, 2016 at 9:23 pm #1036820Hi,
I have the same problem, ajax error and with no grids created and I can’t create any.
Also problem with The Grid, I can’t change anything.
Regards,
Oswaldo
June 11, 2016 at 2:23 am #1037018Hi Oswaldo,
Please do a testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Thanks.
-
AuthorPosts