The function of a component in react.js, browser caching problem?

there is no problem with the function of a component of steps in react.js to be tested locally, but there will be a problem with submitting the code test, and it turns out that it is the browser cache problem, and there will be no problem after clearing the cache. What"s going on? Do you need a clear cache every time?

Apr.11,2021

look at the caching strategy of your resource files. You can take a look at the response-header of your js file.

in addition, hash name, is recommended so that this problem does not exist

Menu