Nginx-helper: custom post types and mobile requests/wptouch

I seem to be missing two features:

  • Ability to clear alternative content, made by for example WPTouch. See guide on http://www.wptouch.com/wptouch/optimizing-nginx-cache-wptouch-pro-3/. After inserting $mobile_request in my fastcgi_cache_key and fastcgi_cache_purge, mobile content is never purged. It would be nice to be able to send additional purge requests with user agent set to include “iPhone” or so making mobile front and articles getting updated as well. I do this with custom php code in functions.php now…

  • Ability to purge custom post types. It seems to never happen? And I have to write my own purge for that…

Bye Anders