I've been working on a website and I'm testing it on a virtual server hosted by my desktop.

Whenever I change something on the HTML or CSS file I'm in, it shows the change I did on the LiveServer (the VSCode extension one), but it doesn't update the change on the Apache Server. I've restarted the server multiple times, but it just doesn't show the change on it. What am I doing wrong?

.u-section-1 .u-image-2 {
  background-image: url("images/2020-10-01\ 16.13.00.jpg");
  background-position: 50% 2.73%;
  min-height: 294px;

I changed the url("images/2020-...); part to an existing image in the HTML file, but it doesn't change when I view the page.

  • Maybe LiveServer and Apache are conflicting? Are you editing the correct file? Are you browsing with caching disabled (ie. open dev tools and "disable cache" on the network tab)?
    – MrWhite
    Commented Jul 26, 2022 at 14:38
  • @awakuruf Did the answer below work for you ? Commented Aug 3, 2022 at 14:29

1 Answer 1


I think that the problem is that browser is caching it.

On most browsers, Ctrl+F5 will refresh the page.

For major changes it is better to clear all caches. On Chrome the command is


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.