redoc
redoc copied to clipboard
Disable cache with env variable in docker
Describe the problem to be solved
- I am developing spec
- I have redoc docker monitoring directory
- I have a lot of $refs reffering $refs etc.
So if I make change in the inner file and reload page in browser sometimes nothing happens. I've spent some hours to find the problem. It is browser cache. I think it caches js files.
It looks like this issue but not
Describe the solution you'd like It would be cool if you add env variable for disabling cache (adds no cache headers) to use while developing
Describe alternatives you've considered I've tried to use no cache checkbox in devtools. It not works fine for js files. Private window in browser works fine
+1 for this
@ZyzychO please take a look. Thank you!
Hey @bazarniy! Thank you for reporting this! I was able to reproduce the aforementioned behavior on my side.
Stay tuned for updates.