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
rahul286 opened this Issue Apr 24, 2015 · 5 comments

Comments

Projects
None yet
3 participants
@rahul286
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 from Nginx Memcahe Full Page Caching to Nginx Memcache Full Page Caching (without wordpress plugin) Apr 24, 2015

@rahul286 rahul286 self-assigned this Apr 24, 2015

@cm896

This comment has been minimized.

Show comment
Hide comment
@cm896

cm896 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

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

This comment has been minimized.

Show comment
Hide comment
@rahul286

rahul286 Apr 25, 2015

Member

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

Member

rahul286 commented Apr 25, 2015

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

This comment has been minimized.

Show comment
Hide comment
@cm896

cm896 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.

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

This comment has been minimized.

Show comment
Hide comment
@renatonascalves

renatonascalves Sep 5, 2016

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

renatonascalves commented Sep 5, 2016

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

@rahul286

This comment has been minimized.

Show comment
Hide comment
@rahul286

rahul286 May 29, 2018

Member

@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.

Member

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.

@rahul286 rahul286 closed this May 29, 2018

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