Skip to content

link 태그 관련 질문입니다. #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chung0906 opened this issue Jan 13, 2018 · 1 comment
Closed

link 태그 관련 질문입니다. #139

chung0906 opened this issue Jan 13, 2018 · 1 comment

Comments

@chung0906
Copy link

link 태그를 적용할때

http://localhost/html/1.html

http://125.140.217.115/html/1.html

적용할 경우

로컬 호스트는 코드내용을 변경 저장하면 바로 웹상으로 볼수 가 잇는데

IP주로를 이용하면 에디터에서 코드를 변경 저장 하여도 바로 적용이 안되는 현상이 발생하는 데요

이건 정상적인 반응 인가요 아니면 어떠한 설정이 필요한 건가요?

@Haytsir
Copy link

Haytsir commented Jan 13, 2018

브라우저에서 페이지 캐싱을 하는걸로 생각됩니다.

이 사실을 확인해보시려면, 크롬 기준으로
Ctrl + Shift + R[또는 F5] 버튼을 누르시면
'강력 새로고침(Hard Reload)' 이라는 기능을 통해 새로고침을 합니다.
위 기능으로 브라우저 캐시를 무시하고 새로 정보를 불러올 수 있으니
http://125.140.217.115/html/1.html 주소에서 한 번 시도해보시기 바랍니다.

페이지 로드 후에 수행된 스크립트에 의한 다운로드 캐시까지 지우시려면
개발자 도구(F12)를 여신 뒤에 주소 바 옆의 새로고침 버튼을 마우스 우클릭하시면
'캐시 비우기 및 강력 새로고침(Empty Cache and Hard Reload)'으로 하실 수 있습니다.

어떤 서버를 사용하는지는 잘 모르겠지만
혹시 서버단에서 캐시설정이 되어있는지, 캐시설정을 한 번 확인해보시기 바랍니다.
서버에서 response할 때 캐싱하지 않도록 헤더를 설정하실 수도 있습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants