Advanced options help to adjust PoweredCache for covering some edge cases and giving more control over the caching layer.
Rejected User Agents
If you don’t want to show cached results to specific user agents, you can use this option. (It supports regex)
Facebook user-agent (facebookexternalhit) is automatically rejected by default.
If you want to ignore specific cookies to caching you can use this option.
Following cookies are rejected by default:
'wp-postpass', 'wordpressuser_', 'wordpresspass_', 'wordpress_sec_', 'wordpress_logged_in_', 'powered_cache_commented_posts', 'comment_author'
They can be modified through powered_cache_rejected_cookies filter.
Vary Cookies allows to create separate cache based on the cookie match. This is useful when your website creates dynamic content based on the user cookie.
If you are looking at this option for cookie laws plugin, please also read this – https://docs.poweredcache.com/compatibility-with-cookie-law-plugins/
Never Cache the Following Pages
You can easily exclude pages from being cached. Enter full URL, relative path, or regex.
Since PoweredCache 2.0 it’s easy to disable caching for a particular page. However, we kept this option in case you may want to control cache other than posts content or apply regex.
Accepted Query Strings
Normally, page caching doesn’t work with query parameters. If you want to allow particular query strings, make sure the specify supported parameters.
Following parameters accepted by default (cached results will be shown to pages with these parameters)
'fbclid', 'fb_action_ids', 'fb_action_types', 'ref', 'gclid', 'fb_source', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'utm_expid', '_ga', 'mc_cid', 'mc_eid', 'campaignid', 'adgroupid', 'adid', 'age-verified', 'usqp', 'cn-reloaded', 'ao_noptimize',
In order to control these parameters, you can use “powered_cache_accepted_query_strings” filter.
Purge Additional Pages
Purge given pages when a new post is published or updated. Normally, PoweredCache only purges related pages with the updated/published posts. (eg. purge archive page for the term that post being tagged)
However, calculating post relations is not possible when the content is generated via shortcodes. (eg. display latest 10 posts on a particular page) Such these scenarios, you can list the pages that will be always purged when a new content is published or updated.