I’m not sure whether the user-agent of facebook is fixed. But I think it must contain a ‘facebook’ string.
For example,
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
Yes. But I am not sure what the ‘exclude’ means.
When loading a page, wp-fastest-cache will create a cache so that next time wp-fastest-cache can use the cache directly.
I want to decide the timing that wp-fastest-cache creates the cache and uses the cache by user-agent.
Because I found that if Facebook load my page and wp-fastest-cache creates a cache at this time, the cache will have some problems caused by wp-syntax. The pre area will show a hash value, not my original program code. So, I need to filter Facebook: If there is no cache page, wp-fastest-cache will not create cache page. But if there is a cache page, wp-fastest-cache can use it.