دعم الموقع

Hi, I'm using api to search for movies and actors in my personal blog. I've coded all I need in php but for 2 weeks performance is become a huge problem. For example for actor's page (here an example: https://www.kafaizni.org/test/kisi.php?id=85 ) I'm making arrays request via;

  • Person, in Turkish
  • Person, in English
  • Person images
  • Person movie credits

When I coded the page, in the begining, pages are fast as lightning but now I need to refresh page 4-5 (sometimes more) times to get all I request. And I changeg nothing. I'm not a proffesional coder and I'm not taking any cache copy . Every page request is instantaneous.

Are there any request limitation for API or do you recommend any coding tips/tricks to get data faster?

Thank you.

1 رد (على هذه الصفحة 1 من 1)

Jump to last post

Hi there,

As mentioned in the docs, we do impose rate limits which is probably what you're running up against. My suggestion to you would be to cache the data as you request it, that way you don't need to make multiple requests of the same data over and over. As time goes by, your cache will fill up and you'll be hitting our service less and less.

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول