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

Design Issue Xenforo slow on iPhone iPod touch and iPad

Discussion in 'Resolved Bug Reports' started by Mikey, Jan 21, 2011.

  1. Mikey

    Mikey Well-Known Member

    Ok, well when JavaScript is enabled in safari on one of these devices any xenforo site I visit is slow. I dosable JavaScript and everything is much faster.

    Not sure if this is a bug, figured I'd report it anyway.
     
  2. Vincent

    Vincent Well-Known Member

    That'll be apple, get used to it :D

    I also have the problem at the iPod/iPad, and use the enhancements disabled template.
     
  3. Peggy

    Peggy Well-Known Member

    Not slow on my iPhone.
     
    Mikey likes this.
  4. DSF

    DSF Well-Known Member

    No, can not confirm this.
     
    Mikey likes this.
  5. CroNiX

    CroNiX Active Member

    it has to do with how apple executes javascript. It waits to download and decompress all javascript before page execution. I read somewhere this takes about 1 second for every 100kbytes js transferred. Apple may be good at many things, but this sucks and makes the user experience a drag on these devices.

    http://www.ajaxwith.com/Why-JavaScript-is-Slow-on-iPad-.html
     
    Mikey likes this.
  6. CroNiX

    CroNiX Active Member

    I believe once everything is cached its ok...
     
    Mikey likes this.
  7. Shamil

    Shamil Well-Known Member

    Unable to confirm this.
     
    Mikey likes this.
  8. Elizabeth

    Elizabeth Well-Known Member

    I'm also unable to confirm this on my iPhone or my iPad. Runs as fast as on my desktop or laptop. Doesn't matter if I am running wifi or 3G.
     
    Mikey likes this.
  9. dabollicks

    dabollicks Active Member

    Browsing the forums is fine on my iPhone. But when trying to change settings in the acp I encounter things loading slowly
     
    Mikey likes this.
  10. Null

    Null Well-Known Member

    As others have previously said above; it's most likely just cache and how Apple do their stuff.

    Anyway, if you want to clear your Cache to see how slow it would be with nothing stored in Cache, clear your Cache by following the below:

    Tap Settings > Select 'Safari' > Select 'Clear Cache' > Select 'Clear Cache' when prompted with 'Are you sure you want to clear the cache?'.
     
    Mikey likes this.
  11. Miko

    Miko Well-Known Member

    Really fast on iPad
     
    Mikey likes this.
  12. Floris

    Floris Guest

    I can confirm this on the iPad 1st gen and the iPhone4.

    It's very very fast, but .. some pages like post reply come with a significant lag. I wish I could record it in a video. Turning off the js makes it go away - caching doesn't seem to be the case, or help.

    When you click on bookmark again the page loads fine, you click on the login dropdown and click on the input field, there it adds 4 seconds to the page load, before you can type. (just an example).

    Typing out a new post under advanced editor is fine for me but quick reply comes with lag while typing. The keyboard from phone is fast and responsive, it's the letters on the screen having to catch up or jumpy
     
    Darkimmortal and Mikey like this.
  13. CyberAP

    CyberAP Well-Known Member

    Site is OK on my iPod Touch 1 gen.
     
    Mikey likes this.
  14. Carl

    Carl Well-Known Member

    This is why xF needs to put in a mobile style to be honest - using it on anything less than 3g is tiresome.
     
  15. Floris

    Floris Guest

    For me on 3g it's just as fast as on wifi, it's only those few instances where it goes through bunch of js before you can type, ..
     
    Mikey likes this.
  16. Null

    Null Well-Known Member

    I don't know how a style would help. The issue seems to be with how mobile Safari handles JavaScript.

    So, it doesn't really seem like an issue on XenForo's side of things.
     
    Mikey likes this.
  17. Mikey

    Mikey Well-Known Member

    Well thanks for the replies everyone. It may be some way I have caching set up, or maybe that this is new and I don't have the js cached yet.

    As Floris mentioned, its particularly noticable ONLY when we do such things which require javascript or ajax, such as clicking like, or the log in button, loading the alerts dropdown takes a few seconds, but it loads (which is more than can be said for vB4's notifications). Sub forums drop downs on the forum home too, take a few seconds. It may be simply that my cache is empty. posting takes a while too, so does adding a comment on someones profile. Like I said, anything which uses the javascript. Javascript disabled fixed this, but it's such a javascript heavy application that browsing with js disabled is simply not as enjoyable

    I'm on wifi on the itouch :)
     
  18. Andreas

    Andreas New Member

    On my iPad the slow pages occur mostly in the admin section, but sometimes in the rest of board as well. As others have noted I am sure that this has to do with the way the iOS version of Safari handles js, but since the iPad isn't going away any time soon I'd like to address this issue on my board. Would it be possible to setup a skin/style that detects iPhone/iPad and serve a js-free style automatically? [​IMG]

    I'm sorry if this is a really novice question, but I have just started to look into XenForo after being a vB customer since 2003...
     
  19. Peggy

    Peggy Well-Known Member

    I decided to really put it to the test on my iPhone. Honestly, the only thing that I'm finding slow is typing in the inline editor (large box).
    I have tested it on different days, different times during the day, and in the middle of the night (at work).
    It lags, big time.
     
  20. Decent60

    Decent60 Well-Known Member

    My Droid 2 Global phone runs XenForo very smoothly. It takes a few extra seconds and a bit harder to click on some links, but it performs just fine. If you are experiencing any problems in speed, try going to a different area (www.speedtest.net could help you out in determining if that area is faster; mine is at 0.86 megabit down, 0.44 megabit up with 152ms ping).
    So it could be your signal getting slightly distorted while you are online (unless you are connecting through wifi, then it's your phone :p)
     

Share This Page