Nginx Memcache Full Page Caching (without wordpress plugin)
Nginx Memcache Full Page Caching without using any wordpress plugin!
Seems possible using - https://github.com/openresty/memc-nginx-module and https://github.com/openresty/srcache-nginx-module
- [ ] Check if goal meet
- [ ] Check if cache works when php-mysql down
- [ ] benchmark against
--wpfc
These look like exciting options. My focused area of "NEED" is for logged in users. I would like some caching mechanism for logged in users, that are displaying re-usable content. Very little changes from one user to the next, so the post/page content pieces, or objects, should not be bypassed by cache, but rather looked up and served from cache, instead of being built again, right? Will either of these solutions help with that aspect? I'd be willing to test if so. Doesn't the microcaching offered by fast cache do this, or is it not full page caching?
Note that https://github.com/openresty/srcache-nginx-module also has a REDIS option, so you can overcome the 1mb memcache limit.
https://github.com/openresty/srcache-nginx-module#caching-with-redis
My focused area of "NEED" is for logged in users
Try https://wordpress.org/plugins/cache-buddy/ . We are using this on demo.rtcamp.com/rtmedia/ where users need to be logged into test site. It did wonder for buddypress as well as some non-wordpress sites.
so you can overcome the 1mb memcache limit.
Memcache limit can be changed. Please refer - https://code.google.com/p/memcached/wiki/ReleaseNotes142#Configurable_maximum_item_size
Awesome - I will check out the cache buddy. TY I moved the site in question to redis instead of memcache, I didn't know how to adequately check to see if I was hitting a 1MB storage limit or not with the given tools. It's good to see how to bypass that setting.
@rahul286 Strange, cache-buddy states it doesn't work with BuddyPress but you say it did wonders.. :/
@renatonascalves Sorry to say I was wrong then. I can't recall but there was something else we did which improved performance during testing.
That being said, for all sites which have logged in user interactions, we use object-cache. It's must-have.
To: all
There is updated caching discussion happening at https://github.com/EasyEngine/easyengine/issues/1015 so closing this.