[Plugin: WordPress Nginx proxy cache integrator] BuddyPress Group Issues
-
I’ve tried a few setups so far and using Nginx as a frontend proxy passing to Apache2 seems to be the way forward to get the best performance.
Anyway came across a little issue if you try and implement this along with BuddyPress. Basically it has issues creating new groups and bombs out on step 2.
I figured the Groups page can be treated like a wp-admin page and therefore not cache it.
Added this to the Nginx config so’s not to cache the creation of groups and pass the request to apache instead – works a treat 🙂
location ~* ^.*/groups/create/(.*) {
# Don’t static file cache admin-looking things.
proxy_pass http://wordpressapache;
}All BuddyPress admin pages seem to have a common denominator so the following rewrite should stop the BuddyPress admin pages from being cached as well.
location ~* ^.*/admin/(.*) {
# Don’t static file cache admin-looking things.
proxy_pass http://wordpressapache;
}http://wordpress.org/extend/plugins/nginx-proxy-cache-integrator/
- The topic ‘[Plugin: WordPress Nginx proxy cache integrator] BuddyPress Group Issues’ is closed to new replies.