1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reducing Lag?

Discussion in 'XenForo Questions and Support' started by Disaster Area, Sep 5, 2015.

  1. Disaster Area

    Disaster Area Member

    Hey I'm a moderator of a xenforo forum (this one) though not the licence-holder or anything. I was having problems with lag when typing, and myself and the owner discussed whether the amount of posts per thread page affected it (he had it on 50, then we changed it down to 20 and it felt to me that the lag [page loading; time for what I type in the text box to appear] was reduced). What I want to know is, firstly, does the amount of pages visible per thread affect the lag to anything close to a significant degree, and does anyone have any tips for reducing the lag other than I've discussed in this paragraph?
  2. Fred.

    Fred. Well-Known Member

    50 or 20 posts will not really make a difference, it doesn't really matter that much.

    Defining caching for front and backend will help a lot.
    Defining a Cache | XenForo

    bd cache also does a great job. (y)
    I also use this add-on
    [bd] Cache
    Disaster Area likes this.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Input lag? While typing but before you submit?

    Do you experience the same problem on this forum?

    Client lag like this can of course be the result of an extremely slow computer. But if your computer is not to blame then perhaps something on the web page is consuming resources. It could be runaway js or some type of media on the page that is eating render time.
  4. Disaster Area

    Disaster Area Member

    Yes input lag. I don't experience it on this forum. The problem is not client-side.
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The first thing I would recommend is trying to reproduce the problem using the default XF style. If the problem goes away then it's probably some bad js or heavy media in the style.

    But I actually just registered on the forum and I am not experiencing any input lag when posting a new thread or when posting a quick reply.
    Disaster Area likes this.

Share This Page