Solution A: create a different cache for Facebook
- Go to W3 Total Cache settings (Performance) > User Agent Groups page.
- While you are at it, tick Enabled for the predefined groups there. This solves the Mobile specific settings have no effect problem too.
- Click the Create a group button at the top.
- Enter Facebook as the group name.
- Add this to the User agents field:
facebookexternalhit
facebookexternalhit/1.1
facebookexternalhit/1.0
- Click the Save all settings button.
Solution B: reject caching for Facebook
- Find the W3 Total Cache settings (Performance) > Page cache > Advanced section > Rejected user agents setting.
- Add this as value:
facebookexternalhit
facebookexternalhit/1.1
facebookexternalhit/1.0
- Click the Save all settings button.
The Facebook Crawler
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
facebookexternalhit/1.1