Announcement

Collapse
No announcement yet.

Is there additional caching going on?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there additional caching going on?

    When I initially upgraded from 3.5.5 to 3.60 and now onto 3.6.1 - I've noticed some lag (up to 60+ minutes) on thread updates when I'm retrieving the latest threads into an external page using this code:

    Code:
    <script type="text/javascript" src="<A href="http://forum.mysite.com/external.php?&type=js"></script">
    <script type="text/javascript">
     <!--
      var max = 15;
      if(threads.length < max) max = threads.length;
      for(i = 0; i < max; i++)
       { 
        if (threads[i].title.length > 31)
      { threads[i].title = threads[i].title.substring(0, 31) + '...'; }
        document.writeln("<b><a href=\"http://forum.mysiste.com/showthread.php?t=" + threads[i].threadid + "\">" + threads[i].title + "</a></b> (" + threads[i].poster + ") <br />");
       }
     //-->
     </script>
    Does my code need changing or is their a cron job (that I can change runtime interval) associated with the 'external.php' now in the 3.6 series of code?

    Any details would be helpful in order to understand what has changed.

    Thanks.
    Last edited by funkmiester; Tue 26 Sep '06, 6:40am.

  • #2
    Yes, the threads are cached. You can change the interval in your
    AdminCP -> vBulletin Options -> External Data Provider -> Cache Lifespan
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      Many thanks.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X