What HTML headers can I use to prevent caching?

I’m using Version 1.56.20 Chromium: 115.0.5790.171 (Official Build) (64-bit) undef Fedora 38 Linux.

Description of the issue: I am developing web applications that use Javascript files. I don’t want caching in my development environment. In my HTML headers, I have the following:

Cache-control: private, max-age=0, no-cache

Despite this, my Javascript files are still being cached and I have to manually clear the cache. How can I change my headers to avoid caching?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.