رفتن به مطلب
رونمایی از اولین و قویترین قالب IPS در ایران و در مارکتهای جهانی ×

Cache lifetime for widgets


Bot

پست های پیشنهاد شده

  • تیم مدیریت

I suspect there may be some computation error with cache lifetime of rss imports. I created a page with some of these widgets and set their cache lifetime to a minimum of 60 minutes (some of them have 720 minutes, 1440 minutes, etc) and none of them have below 60 minutes.

After loading the page once, the widgets are supposed to cache their data without making calls to the rss services for subsequent page loads for at least 60 minutes. But that never happens as the page seem to take the same amount of real time to load after just a few minutes from last page load. A couple of widgets may not matter much even if they re-fetch data but with multiple widgets, this is a bummer as it takes more time frequently! The page loads within a couple of seconds from cached data fine for more than 2 minutes from last page load but trying after 5 minutes re-fetches the data of all widgets on the page taking more time. The cache never lasts for at least 60 minutes as configured.

Another issue I notice is that the cached data should be global that should be reused by all users. It may affect one random user once in a while when the cache expires that would take real time to load the page for him and after that, all users should get to reuse the cached data until cache expires, affecting some random user again. I tried with multiple user accounts and multiple browsers and it seems like the data for each user is loaded afresh and cached (pre-cached data by another user is not getting reused by other users).

Even with guest users, it is the same issue as the page loads in real time every few minutes.

Once the page is loaded and widget data is cached, it should reuse the cached data during subsequent page loads for all users until cache expires.

Is cached data stored in a table or disk files? How can I make cache last for the configured number of minutes on CiC?

Please advise...

View the full Question

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

  • تعداد پاسخ 0
  • زمان ایجاد
  • آخرین پاسخ

بهترین ارسال کنندگان این موضوع

روزهای محبوب

بهترین ارسال کنندگان این موضوع

روزهای محبوب

مهمان
این موضوع برای عدم ارسال قفل گردیده است.
  • کاربران آنلاین در این صفحه   0 کاربر

    • هیچ کاربر عضوی،در حال مشاهده این صفحه نیست.
×
×
  • ایجاد مورد جدید...

اطلاعات مهم

برای تجربه رابط کاربری بهتر و تعامل بهتر شما با انجمن ما از کوکی ها استفاده میکنیم قوانین