EndPointCorp / end-point-blog

End Point Dev blog
https://www.endpointdev.com/blog/
17 stars 65 forks source link

Comments for Memcache Full HTML in Ruby on Rails with Nginx #1157

Open phinjensen opened 6 years ago

phinjensen commented 6 years ago

Comments for https://www.endpointdev.com/blog/2015/09/memcache-full-html-in-ruby-on-rails/ By Steph Skardal

To enter a comment:

  1. Log in to GitHub
  2. Leave a comment on this issue.
phinjensen commented 6 years ago
original author: Jon Jensen
date: 2015-09-04T23:27:34-04:00

Great write-up, Steph! Sounds like a good approach to full-page caching, and with memcached it's nice to not have to handle cache purging on each nginx server separately.

I do chuckle (or groan) every time I have to do kludges like you did above in your nginx configuration with "set $memcached_request 1;" and so on because nginx's if command can't handle even basic and/or logic. But so it goes, and once I accepted the limitation it wasn't too hard to work around.