Strapi content not updating in production url

I am trying to update strapi content on production url, it doesn’t updating content in nextjs app.
but in my local it works fine. I am using strapi api in app folder of nextjs webapp and i have checked the environmental variables everything seems to be fine. If i have updated content in strapi production again i have to rebuild nextjs frontend app to see the changes. I don’t know where the problem is occurring. Can anyone help me with it.