Disable cache in server response header?

I am working on a simple web app for my Sony TV which is located in config/www/ folder and I need to disable cache by adding this header:

Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0

Other method doesn’t work for me. Rebooting TV doesn’t work either.
How can I do that?

Thank you.

1 Like

Ok. It seem like I wasn’t clear enough?
There is a aiohttp server running on hass.io. Is there any way to modify it’s header?

Thank you.