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?
- Update Cache on Save Instead of Clearing It?
- Cache API Images to Prevent Hot Linking
- Objective Best Practices for Plugin Development? [closed]
- add_menu_page() with different name for first submenu item
- Autoloading & Namespaces in WordPress Plugins & Themes: Can it Work?
- How to include PHP files in plugins the correct way
- How can I add an image upload field directly to a custom write panel?
- A tool to analyze rewrite rules? [closed]
- Difference Between Filter and Action Hooks?
- framework for plugin/theme options panel? [closed]
- Creating a table in the admin-style?
- How can you check if you are in a particular page in the WP Admin section? For example how can I check if I am in the Users > Your Profile page?
- Settings API with arrays example
- How to get the path to the current theme?
- How to make a plugin require another plugin?
- ajaxurl not defined on front end
- What process do you use for WordPress development? [closed]
- What’s the difference between term_id and term_taxonomy_id
- Should I use wpdb prepare?
- Why does WordPress use outdated jQuery v1.12.4?
- Post meta vs separate database tables
- Is there any plugin development framework
- Is it possible to reuse wp.media.editor Modal for dialogs other than media
- How to add a javascript snippet to the footer that requires jQuery
- Enhance Media Manager for Gallery
- How do I create a custom role capability?
- How do I add CSS options to my plugin without using inline styles?
- How do i best handle custom plugin page actions?
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- W3 total cache – cache refresh programmatically [closed]
- Automatically determine minimum WordPress version required for a plugin?
- What is the advantage of using wp_mail?
- How to make a WordPress plugin translation ready?
- How many times will this code run? (or, how rich is grandma?)
- How to create an API for my plugin?
- Is it ever okay to include inline CSS in plugins?
- Plugins in symlinked directories?
- How to override existing plugin action with new action
- How to include a file using get_template_part() in a plugin?
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- How to store username and password to API in wordpress option DB?
- body_class hook for admin pages
- “Error: Options Page Not Found” on Settings Page Submission for an OOP Plugin
- Is it mandatory to use $wpdb->prefix in custom tables
- Which hook should be used to add an action containing a redirect?
- add_action hook for completely new post?
- Why does WordPress add 0 (zero) to an Ajax response?
- What should I use instead of WP_CONTENT_DIR and WP_PLUGIN_DIR?
- How to enqueue JavaScripts in a plugin
- In Which Contexts are Plugins Responsible for Data Validation/Sanitization?
- Plugin Form Submission Best Practice
- How to redirect to settings page once the plugin is activated?
- Is get_option function cached?
- Should Plugin Folders Include a Blank index.php File?
- Unit testing for plugin development