We are using php-fpm with Nginx. Every request to the server is opening a new bucket. The couchbase documentation says not to do this. How can I open a bucket once and then reuse that bucket across all pages?
I have tried the solution proposed here, and it didn’t work:
I then tried to cache the connection (cache the bucket object and the cluster object) in APC, and it didn’t work either.