[PCBC-6] Add a local cache server design docs Created: 05/Sep/11 Updated: 15/Dec/12 Resolved: 18/Jan/12 |
|
| Status: | Resolved |
| Project: | Couchbase PHP client library |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.0 |
| Security Level: | Public |
| Type: | Improvement | Priority: | Major |
| Reporter: | Jan Lehnardt | Assignee: | Jan Lehnardt |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently, the library requests all design docs from a bucket on initialisation. in a typical PHP deployment, that's a lot of superfluous requests.
We need to implement a PHP-local cache for design doc definitions, with a timeout and different storage backends (flat file at first, APC et. al. later), |
| Comments |
| Comment by Jan Lehnardt [ 27/Oct/11 ] |
|
In addition, as proposed by cojak in #couchbase on IRC, lazy-load ddocs on view request instead of when calling addCouchbaseServer().
|
| Comment by Jan Lehnardt [ 18/Jan/12 ] |
| moving to the new codebase, this becomes obsolete |