پشتیبانی پایگاه داده‌ فیلم

I've read almost every post I can find on here about caching the TMDB's data, but none of them say how to do it. (Because everyone knows what they're talking about.) Is there an "ELI5 Guide to Caching the TMDB"? Like from Step 1, with all the how, what, and where. I'd like to have some info web-based, possibly on WordPress. Insights appreciated!

2 پاسخ (در صفحه 1 از 1)

Jump to last post

Hi @lazysupper,

No such guide from us, as everybody's architecture, app and requirements is going to be different. There's a few different ways you could do it, depending on what you're trying to accomplish.

One way, would be to cache requests locally. Most programming languages have libraries that will let you cache HTTP requests, like a proxy.

Another way could be, to look at standing up a local service layer with something like Nginx or HAProxy.

And lastly, another way could be to create your own local schema, and as your make requests, you start writing the data to your local database in a schema that matches your application.

Lots of different way to do this, just depends what you're trying to accomplish.

Thanks @travisbell. That puts things in much better perspective for me!

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود