What should I do if images are always cached when using laravel locally?
巴扎黑
巴扎黑 2017-07-06 10:36:08
0
1
1057

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 asbackground-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

巴扎黑
巴扎黑

reply all (1)
巴扎黑

If you are using Chrome, right-click-Inspect-Network, checkDisable cacheand try refreshing

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!