Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx Memcache Full Page Caching (without wordpress plugin) #510

Closed
3 tasks
rahul286 opened this issue Apr 24, 2015 · 5 comments
Closed
3 tasks

Nginx Memcache Full Page Caching (without wordpress plugin) #510

rahul286 opened this issue Apr 24, 2015 · 5 comments
Assignees

Comments

@rahul286
Copy link
Member

rahul286 commented Apr 24, 2015

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
@rahul286 rahul286 changed the title Nginx Memcahe Full Page Caching Nginx Memcache Full Page Caching (without wordpress plugin) Apr 24, 2015
@rahul286 rahul286 self-assigned this Apr 24, 2015
@cm896
Copy link

cm896 commented Apr 24, 2015

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

@rahul286
Copy link
Member Author

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

@cm896
Copy link

cm896 commented Apr 25, 2015

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.

@renatonascalves
Copy link

@rahul286 Strange, cache-buddy states it doesn't work with BuddyPress but you say it did wonders.. :/

@rahul286
Copy link
Member Author

rahul286 commented May 29, 2018

@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 #1015 so closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants