My webpage ignores changes in CSS file

后端 未结 5 1990
天命终不由人
天命终不由人 2021-01-23 06:11

No matter what I change in my .css file, the page remains the same - what\'s more, neither changing the link tag so that it points to another .css file nor deleting it completel

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-23 06:23

    You css is getting cached. If you clear your cache, you will see a difference.

    There are techniques you can apply to bust the cache, such as appending a timestamp or build number to your filename or link. If this is for development purposes and your production copy won't change much, I wouldn't bother, as clearing your browser's cache will suffice.

提交回复
热议问题