search

Home  >  Q&A  >  body text

What should I do if images are always cached when using laravel locally?

The picture has been deleted but it is still displayed. What should I do in this case? Is this a laravel problem or a browser problem? I restarted the browser and tried it, but it still didn't work. Sometimes I introduce a background image in the css, such as background-image: url("{{URL::asset('img/zan.png')}}" ); When changing the picture without changing the picture name, the original picture will still be used after refreshing the browser

巴扎黑巴扎黑2784 days ago1128

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-07-06 10:38:08

    If you are using Chrome, right-click-Inspect-Network, check Disable cache and try refreshing

    reply
    0
  • Cancelreply