درس قبلی
How to Structure Your Caching Layer

How to Structure Your Caching Layer

How to Structure Your Caching Layer

قسمت 6
درس بعدی

درباره این درس

Before we move on to learning about PubSub in Redis, let's take a short break to review how we might organize our PHP to best take advantage of caching. In the previous episode, we simply wrapped our database query in a call to Cache::remember(). But, what if we want to dry up our code a bit, or even turn the caching on and off (through the use of decorators), like the flick of a switch? In this episode, I'll demonstrate a few options that you might consider.
دیدگاه های کاربران

× در حال پاسخ به: