export async function getServerSideProps({ req, res }) {
    res.setHeader(
        'Cache-Control',
        'public, max-age=1800, stale-while-revalidate=59'
    )
    const resq = await fetch(`${process.env.NEXT_APP_API_URL}/get-project?page=index`);
    const data = await resq.json();
    return {
        props: {
            data: data ? data : "null"
        },
    };
}
I am using getServerSideProps to get myProject data and it's working fine. And Api called is first time but after data get from cache.
But i want data get first time in Cache not an api.
So it is Possible using getServerSideProps ?