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

JQuery is Slow to Load

Discussion in 'Troubleshooting and Problems' started by fattony69, Oct 14, 2012.

  1. fattony69

    fattony69 Well-Known Member

    I keep having an issue when people are creating posts and when they are trying to insert images, media, and code. I have set it to Google's CDN, but nothing has changed from when it was on local.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    What exactly is happening? What is slow about it?
  3. Chris D

    Chris D XenForo Developer Staff Member

    Also, browser version is a very important factor.

    Some earlier versions of Firefox, e.g. Firefox 4.x run incredibly poorly on any XenForo website.
  4. fattony69

    fattony69 Well-Known Member

    I will click on either insert images, media, and code. The box will come with the overlay background, but nothing shows up in the box for about a few seconds as if it was delayed. Now that I go on other forums besides my own (and even here), it seems like every forum is experiencing this.
    I am on the absolute latest version of Chrome.
  5. Chris D

    Chris D XenForo Developer Staff Member

    Oh... that...

    Yeah that's pretty normal.

    It's probably the only part of XenForo that I sit and think: Why did they do it like that? o_O

    Essentially, you click on an editor button and it goes off to fetch and render a template. The amount of time it actually takes depends on a number of factors, but yeah, a few seconds isn't unusual.

    I hope they improve it because at the moment it's not great.
    Jake Bunce likes this.
  6. fattony69

    fattony69 Well-Known Member

    Yeah, that. haha!

    I had a few members mention it and I never realized it because I've always wrote it in manually. The amount of time is enough that my members noticed. I've tested on Safari, Chrome, Opera, Firefox, and Internet Explorer. Opera was the best when it came to loading it.
  7. cclaerhout

    cclaerhout Well-Known Member

    With XenForo the TinyMce editor is inside an iframe. When you click on button, it's using a TinyMce function to display an "inline-popup " with a standard url redirection (hidden). If your server is fast, the popup will display fast, otherwise you need to wait a little. Sometimes the redirection is also activating an Ajax function (via the url redirection), so you have to wait again a little longer.
    Jake Bunce likes this.
  8. Insy

    Insy Well-Known Member

    You should use the timeline (Ctrl+I then Timeline tab with Chrome) to identify what's slowing your site.
    sgesvn and Jake Bunce like this.

Share This Page