Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

261
Views
How to refresh browser cache after publish React application?

I have Visual Studio 2019 template .NET Core and React application. When I make some changes and run application locally, everthing is OK and I see these changes in browser. When I publish this application on external server, browser shows me old, cached version of this site. I must force browser to clear cache and reload. It refers to .js and .css files. How can I fix it?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

If you use webpack for build your react app you can configure webpack config.
Just add some hash to final bandle js name:

output: {
  filename: '[name].[contenthash].js',
  path: path.resolve(__dirname, 'dist'),
}

it should solve browser cache problem.
more information in official documentation: webpack documentation

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!