Pages: [1]

UPDATE: Slow-Loading Front Page
Posts: 3 Views: 822

Wintermoot
  • Regional Stability Squad
  • The Greyscale Magi-Monk
  • Earlier tonight, I noticed that the front page was loading very slowly. I was able to trace it to the MC server and the API we use to get data about the server. The API was down, and the page was waiting for the API time time out before it would finish loading, which could take up to 30 seconds. I made some minor changes to rectify this issue:

    -The connection to the API can now last no longer than a second. If the API hasn't returned the data in that time, the script will assume that it's down.

    -If the API didn't return an update time (such as when it's down), the front page would attempt to query the API on every load instead of once every three minutes as it should. This has been fixed by substituting the current server time in case the API doesn't return an update time.

    -On the development skin, a message will display in the Minecraft status page when the API is down stating that the server information is unavailable. When the API is down, only the server address will be shown (as the server is completely separate and will remain up). This will be carried over to the production skin when the current dev skin projects are finalized. You can read more about them here.
    3 people like this post: Doc, Red Mones, taulover


    I went all the way to Cassadega to commune with the dead
    They said "You'd better look alive"
    Wintermoot
    • The Greyscale Magi-Monk
    • Posts: 19,453
    • Karma: 9,677
    • Weather: ❄️
    • Regional Stability Squad
    • Pronouns
      He/Him/His
      Orientation
      Demisexual
      Wintreath Nation
      Logged
    Red Mones
  • Citizen
  • Wintreath's Official Money Launderer
  • Yeah I noticed it loaded quickly this morning. Thanks for that. And congrats on 7k karma. :P
    2 people like this post: Imaginative Kane, taulover
    Red Mones
    • Wintreath's Official Money Launderer
    • Posts: 7,005
    • Karma: 2,202
    • Citizen
    • Pronouns
      He/Him/His
      Familial House
      Burdock
      Wintreath Nation
      Logged
    Wintermoot
  • Regional Stability Squad
  • The Greyscale Magi-Monk
  • @Red Mones: Thank you! I wouldn't have even noticed this milestone had you not mentioned it. :P
    1 person likes this post: taulover


    I went all the way to Cassadega to commune with the dead
    They said "You'd better look alive"
    Wintermoot
    • The Greyscale Magi-Monk
    • Posts: 19,453
    • Karma: 9,677
    • Weather: ❄️
    • Regional Stability Squad
    • Pronouns
      He/Him/His
      Orientation
      Demisexual
      Wintreath Nation
      Logged
     
    Pages: [1]