serdar sengul

serdar sengul

  • 1.6k
  • 46
  • 555

Update changed script andcss files in memory without refreshing page

Jul 11 2024 5:58 AM

Hello, I am constantly testing, but every time I log in again by clearing the browser and open the same page again.when I do this maybe 200 times a day until the evening, it is a big waste of time.when I update, how can I update the changed css and script files in the browser cache without refreshing the page? Even if I run it again in the console after updating an existing function, it sees the old codes. There are more than 300 script files in my project, I should not run all of the scripts because unnecessary scripts will run, so I'm trying to do something like this, the scripts or css that are currently loaded in the browser's memory should only be updated in the cache, I searched a lot but I couldn't find a solution, thanks

 


Answers (1)