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

XF 1.4 Choppy scrolling (noticed on Safari, Mac Yosemite)

Discussion in 'XenForo Questions and Support' started by creativeforge, Jul 13, 2015.

  1. creativeforge

    creativeforge Active Member

    (Please move to appropriate forum if not the right one? Thanks!)

    Hi all,

    Some members have been complaining about choppy scrolling today, pointing to the background image as the culprit. Evidently not the case, being only 60kb, but I changed it for an image weighing about 320 bytes. The issue remains.


    So I checked on GTMetrix and here are the results:




    I'm wondering about the "defer parsing of javascript?" How wold I do this?

    Anyone having knowledge of the other stuff that is low rated, I'd appreciate any help I can get.


  2. ichpen

    ichpen Well-Known Member

    Deferring JS can lead to many issues, I'd recommend you tackle it last. One thing I noticed is that your browser caching isn't getting top marks, it may mean your users continue to download the same images rather than relying on good old local cache.

    Look into your server (nginx/apache) config, make sure you crank up the expiry on static elements all the way up to 11 where feasible.
    creativeforge likes this.
  3. creativeforge

    creativeforge Active Member

    Hi, thanks, however I don't know this all means... The server is running Apache, but I can't see any static elements settings. Is this done in CPanel or via an htaccess file?

  4. ichpen

    ichpen Well-Known Member

    I don't use cpanel or apache but here's a sample I pulled for htaccess rules:
    ExpiresActive On
    ExpiresByType image/jpg "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType application/pdf "access plus 1 month"
    ExpiresByType text/x-javascript "access plus 1 month"
    ExpiresByType application/x-shockwave-flash "access plus 1 month"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresDefault "access plus 2 days"

    You'd set this for static assets like images, js, css etc

    Yosemite scrolling choppiness is a relatively common complaint from what I've heard, the above likely will not fix it. Not a Mac person so can't help on that front.
  5. RoldanLT

    RoldanLT Well-Known Member

    This issue is mostly related to style, specially the fixed navigation tab.
    creativeforge likes this.
  6. creativeforge

    creativeforge Active Member

    Thanks ichpen!

    Hi Roldan, when you say fixed navigation, you mean a sticky nav?
  7. RoldanLT

    RoldanLT Well-Known Member

    creativeforge likes this.
  8. creativeforge

    creativeforge Active Member

    Interesting, someone just complained yesterday how that sticky hinders the view on mobile phones...

    Also, can having addons that are deactivated but still installed, slow the serving of pages?

  9. RoldanLT

    RoldanLT Well-Known Member

    It should not affect 99%.
    creativeforge likes this.
  10. Russ

    Russ Well-Known Member

    Just try disabling the sticky nav to see if that's the actual cause of the problem(it's ran on a ton of other sites with no problems reported).
    creativeforge likes this.

Share This Page