hassantafreshi
Forum Replies Created
-
@phristanov Thank you for your response. My question now is whether “single” refers to the same thing as “page,” and what other values can be passed to the function below, besides “post” or “single”?
nitropack_purge(NULL, “post:$postID”, $reason=NULL);
Thank you for your detailed explanation.
Thank you for your response. We have added this code to the Easy Form Builder plugin for compatibility with your caching plugin. What do you think?
case 'speedycache':
//check slug of plugin caches
if(class_exists('SpeedyCache\Delete')) \SpeedyCache\Delete::cache($page_id);
break;- This reply was modified 6 months, 3 weeks ago by hassantafreshi.
Forum: Plugins
In reply to: [Clear Cache for Me] Handling Page Caching@webheadllc I understand, thank you.
Forum: Plugins
In reply to: [Clear Cache for Me] Handling Page Caching@webheadllc My question is: Will calling the function
ccfm_clear_cache_for_me()
by itself cause any issues?Forum: Plugins
In reply to: [Clear Cache for Me] Handling Page CachingThank you for your response. I have a question: when we call the function
ccfm_clear_cache_for_me()
, does it clear all the cache? We only want to clear the cache related to a specific page, where we have the page ID. Is that possible? Thank you.@speedycache Thank you for your response. We will wait for your next update. Please remember to share the caching function with us after the plugin is updated.
Forum: Plugins
In reply to: [WP REST Cache] Does This Custom Caching Code Interfere with WP REST Cache?@rockfire Thank you for your detailed explanation. This kind of thing always happens when naming variables during development ??
I have added these code , what you think ?
case 'wp-rest-cache':
//\WP_REST_Cache_Plugin\Includes\Caching\Caching::get_instance()->delete_related_caches( $post_id, $object_type );
$typPage = get_post_type($page_id);
if(class_exists('\WP_REST_Cache_Plugin\Includes\Caching\Caching')) \WP_REST_Cache_Plugin\Includes\Caching\Caching::get_instance()->delete_related_caches( $page_id, $typPage );
break;- This reply was modified 7 months, 1 week ago by hassantafreshi.
Forum: Plugins
In reply to: [WP REST Cache] Does This Custom Caching Code Interfere with WP REST Cache?Thank you for your response. Could you please clarify the value of the
$object_type
variable? Given our situation, could you provide guidance on how we can assist users of both plugins effectively?Thank you.
Forum: Plugins
In reply to: [WP REST Cache] Does This Custom Caching Code Interfere with WP REST Cache?@rockfire
Thank you for your response. Is there a way to clear the cache in your plugin using only thepost_id
? Specifically, I want to clear the cache for a specific page by referring to itspost_id
in the cache deletion function.Thank you
Thank you for your assistance, I will added this code , what do you think ?
elseif(has_action('breeze_clear_all_cache')){
do_action('breeze_clear_all_cache');
}Forum: Plugins
In reply to: [Super Page Cache] Handling Page Caching@isaumya Thank you for your assistance
Hi,
Thank you for your quick and comprehensive response.Yes, exactly, I mean temporarily excluding a page from the cache. However, the structure we have established with other caching plugins is that we pass the page ID to the filter of each plugin to perform this action. In the link you sent as a guide, I couldn’t find a function with these specifications. I would appreciate it if you could guide me so that users don’t encounter any issues.
Thank you.