title: How to speed up getServerSideProps with next js?
body: <p>When I'm using getServerSideProps with next js and it almost takes 5 or 6 seconds for the page to load . I tried using only one url to fetch and not many but again it takes alot for the page to load .</p>
  <pre><code>export const getServerSideProps = async (ctx) =&gt; {
     let data ;
     try {
        data = axios.get(&quot;url&quot;)
     } catch(e){
        data = &quot;error&quot;
     }
     return {
       data: data,
     };
   };
  </code></pre>
  <p>I was wondering is there any trick to speed up getServerSideProps data fetching so I could have faster initial page load ?</p>