It will most likely depend on the plugin, but you should also remember that your content might be cached also in caching proxies as well. https://stackoverflow.com/questions/9334393/proxy-cacheing-what-about-cookies
In other words, if your output is different to two different users, than you can not use caching. The way to go around this is to make the decision to set the cookie in JS if possible.
Related Posts:
- How can I render shortcode so that its not cached by Caching plugins?
- Is this Solution for Caches vs Cookies Going to Get Me in Trouble?
- Trouble with Transient API when W3TC is activated [closed]
- Will cron job run if page loaded is being served from cache?
- Make WordPress cache permanent for some pages until edited
- How to add support for caching plugins for my own plugin?
- Plugin files not updated (cache cleared)
- Is get_option() faster than accessing get_transient()?
- Pros and Cons for high “expire time” on wp-super-cache or w3-total-cache? [closed]
- Best practices for using the transients API
- Disable WordPress cache programmatically on a request [closed]
- Modifying the way WP sets cookies
- How to make dynamically-generated content searchable in WordPress?
- Is there any reason only 1 (my) IP would be added to this table using $wpdn->insert?
- How can I free up the memory used by update_post_meta?
- What is difference between ‘Page Cache’ and ‘Object Cache’ in WordPress?
- Configuring WordPress Auth Cookie Expiration
- Does WordPress’s HTTP API use any caching?
- Is using WP Transients to save external data for a plugin the best/right way?
- Cache directory needed for plugin
- Clearing cached plugin data if it is using an external object cache
- Maximum lifetime for nonce
- Clearing caches on plugin uninstall
- How to implement filesystem cache in WordPress
- W3 Total Cache JS and css Minify folder are empty
- Is using custom table to suit business needs instead of transients a big hit to page load speed?
- Caching the_content calls
- How to set a cookie for logged in users to md5($user->ID . “my_secret”)?
- Setting a JSON web token from a secondary api as a secure cookie on WordPress
- Service Worker Uncaught (in promise) DOMException
- Should I use wp-content/cache or [PLUGIN_DIR]/cache?
- I need to refresh page to display wp_get_current_user() : why?
- How can I control if post updated
- insufficient permissions; coding an action for plugin governed by custom capability
- Undefined cache functions in my custom plugin
- Add a Script button in W3 Total Cache plugin not working due to conflicting jQuery version
- Pre-Caching and Googlebot
- Is it possible to restore an expired transient?
- How to disable cache for the content returned by a shortcode
- Why setcookie function redirecting to home page in wordpress?
- WP Super Cache versus W3 Total Cache [closed]
- Rest Api WordPress
- Does WP REST API cache internally executed (rest_do_request) requests?
- the_content after all shortcodes are parsed
- How do I resolve Notice: Undefined offset: 0 in /wp-includes/capabilities.php on line 1145
- Category listing with thumbnail and description on home page
- Exclude certain block from caching using Fragment Caching – doesn’t work [closed]
- URLs of plugin resources?
- anything like add_meta_box for categories?
- How to include class from addon after to be sure one class exists in the main plugin?
- Developing a plug-in to charge for
- WordPress: After Gutenberg plugin migration to block.json the localization/ translations with PolyGlot in JavaScript does not work anymore
- What is the Difference between directly call a function and call a function using add_action?
- What is better way to use Bootstrap inside admin panel?
- Updating my plugin without releasing a new version
- Is it possible to check is loaded language files correctly with WordPress plugin?
- Advice on plugin structure
- Problem with parameters in url and pagination
- Upgrade private plugin without deleting files?
- Saving value of a selection option in comment form as comment meta
- Is there some way to provide the user a list of existing content in a CPT
- Issue with querying
- Is this best practice for Dynamically adding items to WordPress menus?
- There is a problem in the gutenberg block I developed. Problem is with withInstanceId
- Detect front-end pages only in init hook
- best way to make a WordPresss multisite that is secure but at the same time supporting my plugin development efforts
- How to change title tag at page after loaded post?
- How to get post content by get_posts function?
- Getting following web services error after activating the Rewards Plugin
- WordPress custom taxonomy check box to dropdown
- How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
- How to modify files inside wp-includes directory in wordpress
- Fatal error: Call to a member function get_page_permastruct() on a non-object
- How to apply style_loader_src filter with exclusion of a specific file?
- Which is the better way to store images for the plugin?
- Minimum Widget Width for Plugin Development
- configuration of .htaccess for add_rewrite_rule to make sense
- Restrict certain actions to plugin-specific admin menu pages only
- Adding tables to dashboard pages programmatically?
- how to add custom fields into new & update post page?
- List all user post API endpoint
- Condition to check previous next article post title
- How to display plugin with javascript using markup of the theme?
- Can display plugin without shortcode?
- Clear cache when comment is added
- Multisite and the JSON REST API: How to?
- Looping single post in a theme
- WP Ajax on page load not working on bluehost but was working on Godaddy
- Is there a way to tell if a shorcode’s handler is being run before or after the content formatting filter?
- How can I send an id over the url?
- Creating custom Insert Media page
- Get fields of a widget
- How do you filter get_media_items by mime type in a custom media upload tab?
- Trying to build a plugin – Cannot modify header information
- What’s wrong in the WordPress Meta Box Generator code?
- add category id to option name when adding an option on edit_category
- esc_url, esc_url_raw or sanitize_url?
- React Plugin Settings Page Localization
- Is it within WordPress guidelines to update another plugin’s database fields from my own plugin? [closed]
- Block Development: hamburger module throwing error in save function