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?
- How to make WordPress ignore GET parameters when caching pages?
- How to be GDPR compliant by loading plugins?
- PHP error with shortcode handler from a class
- Passing arguments to a admin menu page callback?
- Add async script
- Allowing for multiple template views on the Gallery Settings page when using the Visual Editor
- Re use authenticated HTTP connection or cUrl handle
- why don’t I get error messages in admin when developing?
- Dynamic content in a widget
- how to include javascript file and css file in wordpress
- Is there any way to check for user login and send him to login?
- Can I individually style items in the backend widget list?
- Why is my javascript not invoked in my hooks except wp_head?
- How to Create database table when Plugin installed/activated, and delete database when Plugin deleted
- include wp-blog-header not working on MAMP
- WordPress database error for query INSERT INTO
- Multiple options pages validation for a plugin
- Prefixing plugin hooks (actions/filters) with a wrapper class or functions
- get_option() not returning expected value from plugin
- Woocommerce Composite Products – Add a composite product to cart programmatically via ajax [closed]
- Testing Rewrite Rules with PHPUnit
- Add a page in admin without adding menu item
- wp_get_post_terms Order by not working
- Naming conventions when using (PHP5) namespaces?
- Readme.txt seems to be cached but not the version
- Issue on Checkbox with Custom Option Page
- change add to cart button link [closed]
- Encoding Method for URLs?
- Store custom meta box data as serialized array
- How to get post meta in functions?
- AJAX request not routing through proxy
- Plugin access to average users not only admin
- Rewrite not working since upgrade to 5.9
- Why won’t this submenu page show? – My First WordPress Plugin
- Multiple dynamic Tax Query – pass taxonomy argument from array
- ACF Field value in wordpress login message filter
- ajax stopped working when not logged in wordpress
- Overriding the template files using a plugin for all themes
- Using meta_key & meta_value in add_rewrite_rule
- Custom Registration Form and Passwords
- Determine if the current page, is being edited
- List Table action argument not cleared
- Fullwidth slider using background image Flexslider WordPress
- Return value of $wpdb->update() query in plugin is wrong
- How to limit the number of posts a user can view based on status
- WordPress permalink setting
- Error when trying to save custom post type settings (ERROR: options page not found)
- How to add additional field in a table row after creating a table?
- WordPress plugin tables become corrupt
- How to call a new php page inside a plugin page?
- How can i call from custom fields to the category editor?
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- If I want to create new taxonomies (e.g. Project / Documents / Etc…) is it better to create them in the theme’s functions.php or within a plugin? [duplicate]
- Is the only way to add taxonomy terms via an admin panel?
- Advanced Custom Fields conflicting with custom plugin when saving custom field
- Query posts which are related via postmeta
- Implement a webhook endpoint into a plugin