Dash app webpage is continuously refreshing while using nodeport or clusterIP

I have created a simple dash web page app that takes the CSV/excel file and plots the data. And I have created a Kubernetes cluster on local ubuntu machines with 1-master and 2-worker nodes to deploy my application. All the nodes, pods, services, deployments, and docker images are running fine. But when I’m using the application, the web page is continuously refreshing in some cases.

  1. When accessing through individual pod IP, the web page works fine and doesn’t refresh automatically.
  2. When accessing through cluserIP, the web page is refreshing continuously.
  3. When accessing through clisterIP port-forwarding, it is fine and doesn’t refresh.
  4. When accessing through node port, the web page is refreshing continuously.
  5. When accessing through external IP, the web page is refreshing continuously.

In the Kubernetes community forum, it was mentioned that it is not a core Kubernetes problem.
Kindly help me to understand/resolve the issue.
Thanks!