Welcome! Log In Create A New Profile

Advanced

fastcgi cache how-to cache for logged-in users and make it custom for each user

September 19, 2012 11:04AM
Hello,

Currently I'm doing cache using fastcgi_cache for non-logged-in users, and using ( if + fastcgi_no_cache + fastcgi_cache_bypass ) to pass logged-in users directly to backend which is PHP-FPM.

this work good enough, but when PHP-FPM start hitting 500+ req/s the slow/load start.

So what i'm thinking about is to create a cache for logged-in users and each user has it's own cached files, is that possible? if yes can you please provide me some tips about that. I've goggled a lot but nothing help with that.

the site running custom php cms with mysql and memcached and apc

Thanks.
Subject Author Posted

fastcgi cache how-to cache for logged-in users and make it custom for each user

Muse September 19, 2012 11:04AM

Re: fastcgi cache how-to cache for logged-in users and make it custom for each user

António P. P. Almeida September 19, 2012 11:32AM

Re: fastcgi cache how-to cache for logged-in users and make it custom for each user

Linux99 September 19, 2012 12:07PM

Re: fastcgi cache how-to cache for logged-in users and make it custom for each user

António P. P. Almeida September 19, 2012 12:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready