Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 14 replies, 2 voices, and was last updated 12 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
10/23/2013 at 12:10 pm #272164
Josh
GuestOops, turns out turning caching back on (see previous post) doesn’t work. Guess we have to leave caching off.
Hopefully updating the plugin in the future will clear the cache as stated by Steven above since it will set the $cache = TRUE again and rely on the cached data as created by the Plugin.
NOTE: I also tried the functions.php snippet to force refresh the cache for the items, but it didn’t work for me either.
10/23/2013 at 1:19 pm #272167Steven Zahm
Keymaster@ Josh
Sorry, yes, the php snippet isn’t going to work the way I thought. refreshing the cache is going to be trickier than I initially thought.
Dropping this in the theme’s
functions.phpfile should be update safe. It disables the use of the cache. Using the same method as editing the core files does.function cn_disable_output_cache( $cached ) { return FALSE; } add_filter( 'cn_address_cached', 'cn_disable_output_cache' ); add_filter( 'cn_phone_cached', 'cn_disable_output_cache' ); add_filter( 'cn_email_cached', 'cn_disable_output_cache' ); add_filter( 'cn_messenger_cached', 'cn_disable_output_cache' ); add_filter( 'cn_social_network_cached', 'cn_disable_output_cache' ); add_filter( 'cn_link_cached', 'cn_disable_output_cache' ); add_filter( 'cn_date_cached', 'cn_disable_output_cache' );-
This reply was modified 12 years, 10 months ago by
Steven Zahm.
10/23/2013 at 3:21 pm #272174Steven Zahm
Keymaster@ Tim
Can you use the method from my previous post?
10/27/2013 at 5:12 pm #272464Tim
Guest@ Steven
I added this code and it seems to work.
I assume that the cache values are not used at all when I have these settings in.I also assume it might have some impact on performance if there’s a lot of information to load (as it has to load from all tables instead of just the one).
If you do work out a way to mass refresh the cache (even if it’s from the dashboard using a bulk action of “refresh cache”) that would help. Maybe to include in the next version?
Thanks.
10/28/2013 at 11:43 am #272493Steven Zahm
Keymaster@ Tim
Right, using these filters disable the use of the object caches which will mean more db hits; about 7 per entry displayed on the page. That’s not the end of the world considering WP can already be db intensive. Two things that can be done to mitigate the additional db load. Use a template that supports pagination and add a page caching plugin.
I think what I may do, rather than baking it into the plugin, is create a free extension that’ll add a bulk action.
-
This reply was modified 12 years, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
