반응형

# 캐시 무시하기

  • 크롬, 파이어폭스 : Ctrl + Shift + R
  • 윈도, 리눅스 : Ctrl + F5
  • 사파리 : Shift 누른 후 새로고침 버튼 클릭
반응형

'기타' 카테고리의 다른 글

SVN 명령어  (0) 2020.11.25
Ajax, 장단점, 비동기, ajax와 제이쿼리의 시너지  (0) 2020.11.25
SVN  (0) 2020.11.24
빌드  (0) 2020.11.24
final  (0) 2020.11.23
반응형

# 자바스크립트를 이용한 새로고침

## window.location.reload()

<a onclick="window.location.reload()"><i class="fas fa-sync-alt"></i></a>

## history.go()

<a onclick="history.go(0)"><i class="fas fa-sync-alt"></i></a>

## window.location.href=window.location.href

<a onclick="window.location.href=window.location.href"><i class="fas fa-sync-alt"></i></a>

## 자동 새로고침

<META HTTP-EQUIV="refresh" CONTENT="시간">

시간에 10 입력시 10초마다 자동 새로고침된다.
반응형

+ Recent posts