PageSpeed: API download to MySQL or directly from API

Discussion in 'Web Development' started by GerarDant90, Sep 19, 2017.

  1. GerarDant90

    GerarDant90 Registered Member

    Joined:
    Sep 12, 2017
    Messages:
    6
    Likes Received:
    0
    Hello,

    Will I improve my Page Speed if I download the data to a MySQL database every minute (from the API)? And drawing data to the website without direct access from the website to the API?

    Or is it better practice to use Live API access? (directly from API to website)

    For example, if you have 500 people an hour looking at the same weather from a weather API feed each time the website connects to the API. If I download the data from the API to a MySQL database and draw data from the MySQL database this would surely make my Page Speed decrease because I am doing the download from the API separate from the website?

    Thanks.
     
  2. TTS_Coder49

    TTS_Coder49 Registered Member

    Joined:
    Sep 10, 2017
    Messages:
    6
    Likes Received:
    0
    Why not set up some a/b tests and see which one gives you the results you want.
     

Share This Page