Next js Netlify Deployment , Issue with HomePage /

glittery-concha-193c2c.netlify.app

I am getting issues when I deploy the site online.Its a simple blog and Everything works as expected but when I refresh the homepage once in a few minutes I get a plain txt file with some css texts instead of my html css texts.Any fix for this beside clear cache?

3:I[3246,[“420”,“static/chunks/9081a741-9fd6d0359d938688.js”,“465”,“static/chunks/48507feb-e0d14be4297617be.js”,“400”,“static/chunks/12038df7-28b9d33ff4f27de4.js”,“306”,“static/chunks/39209d7c-26d4bbbc6facd70c.js”,“176”,“static/chunks/176-1d4fa4132eb0b820.js”,“140”,“static/chunks/140-3b219a6f3dd5da04.js”,“185”,“static/chunks/app/layout-fa3a54ce35cd7062.js”],“”]
4:I[5613,,“”]
5:I[1778,,“”]
6:I[5250,[“420”,“static/chunks/9081a741-9fd6d0359d938688.js”,“465”,“static/chunks/48507feb-e0d14be4297617be.js”,“400”,“static/chunks/12038df7-28b9d33ff4f27de4.js”,“306”,“static/chunks/39209d7c-26d4bbbc6facd70c.js”,“176”,“static/chunks/176-1d4fa4132eb0b820.js”,“140”,“static/chunks/140-3b219a6f3dd5da04.js”,“185”,“static/chunks/app/layout-fa3a54ce35cd7062.js”],“”]
7:T4e4,M256 48C141.1 48 48 141.1 48 256c0 114.7 93.3 208 208 208 114.9 0 208-93.1 208-208 0-114.7-93.3-208-208-208zm127.3 80.7c8.5 8.5 16.1 17.7 22.6 27.5.7 1 .9 2.4.4 3.5L391.9 201c-.4 1-1.1 1.9-2.1 2.3l-57.5 26.2c-1.4.6-3 .4-4.2-.6l-56.6-47.6a4.1 4.1 0 0 1-1.4-3.1v-63.1c0-1.3.7-2.6 1.8-3.3l38.4-26.1c1-.7 2.3-.9 3.5-.5 25.8 8.9 49.6 23.6 69.5 43.5zm-73.9 297.6c-.4 1.2-1.4 2.1-2.6 2.4-16.3 4.8-33.4 7.2-50.8 7.2-17.5 0-34.5-2.5-50.8-7.2-1.2-.4-2.2-1.3-2.6-2.4l-16.4-43c-.4-1.1-.3-2.3.2-3.3l22.3-42.3c.7-1.3 2.1-2.1 3.5-2.1h87.5c1.5 0 2.8.8 3.5 2.1l22.3 42.3c.5 1 .6 2.2.2 3.3l-16.3 43zm-67.4-311v63.1c0 1.2-.5 2.3-1.4 3.1L183.9 229c-1.2 1-2.8 1.2-4.2.6l-57.5-26.2c-1-.5-1.8-1.3-2.1-2.3l-14.4-41.2c-.4-1.2-.3-2.5.4-3.5 6.5-9.8 14.1-19 22.6-27.5 19.9-19.9 43.7-34.6 69.6-43.3 1.2-.4 2.5-.2 3.5.5l38.4 26.1c1.1.5 1.8 1.7 1.8 3.1zM77.7 264.1l36.1-31.2c1.2-1 2.9-1.3 4.3-.6l52.4 23.8c1.1.5 1.9 1.5 2.2 2.7l14.6 57.3c.2 1 .1 2-.3 2.9l-23.2 43.9c-.7 1.3-2.1 2.2-3.6 2.1l-46-.6c-1.2 0-2.4-.6-3.2-1.6-20.5-27.7-32.5-60.6-34.7-95.4 0-1.3.5-2.5 1.4-3.3zm270.4 98.7L325 319c-.5-.9-.6-1.9-.3-2.9l14.6-57.3c.3-1.2 1.1-2.2 2.2-2.7l52.4-23.8c1.4-.6 3.1-.4 4.3.6l36.1 31.2c.9.8 1.5 2 1.4 3.3-2.1 34.8-14.2 67.6-34.7 95.4-.7 1-1.9 1.6-3.2 1.6l-46.1.6c-1.5-.1-2.9-.9-3.6-2.2z0:[“UG-Ve9SDmAPQi9NH-OMkk”,[[[“”,{“children”:[“PAGE”,{}]},“$undefined”,“$undefined”,true],[“”,{“children”:[“PAGE”,{},[“$L1”,“$L2”,null]]},[null,[“$”,“html”,null,{“lang”:“en”,“children”:[[“$”,“head”,null,{“children”:[[“$”,“meta”,null,{“charSet”:

Probably related to: Next.js 13.4 displays text instead of content due to improper handling of Vary header - Support - Netlify Support Forums and NextJS app and Netlify in production issue - Support - Netlify Support Forums

TL;DR, no solution yet apart from downgrading to lower versions of next.js.