jquery 파일을 외부에서 링크로 불러오기 (CDN 방식)
페이지 정보
작성자 YJNet 작성일13-05-11 00:56 조회11,662회 댓글0건본문
jquery 파일이 트래픽에 어느정도 영향을 줄수 있기 때문에 트래픽 용량이 많지 않을 경우 외부파일을 사용하면 유용합니다.
외부파일을 사용할 경우 속도는 조금 느릴수도 있지만 트래픽은 사용하지 않습니다.
홈페이지에서 jquery를 사용할때 아래 링크 중 하나를 사용해서 외부 jquery 파일을 불러오면 됩니다.
<jquery.com 링크>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<구글 링크>
외부파일을 사용할 경우 속도는 조금 느릴수도 있지만 트래픽은 사용하지 않습니다.
홈페이지에서 jquery를 사용할때 아래 링크 중 하나를 사용해서 외부 jquery 파일을 불러오면 됩니다.
<jquery.com 링크>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<구글 링크>
구글 CDN : https://developers.google.com/speed/libraries/devguide#jquery
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<MS 링크>
MS CDN : http://www.asp.net/ajaxlibrary/cdn.ashx#jQuery_Releases_on_the_CDN_0
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.8.3.min.js"></script>
댓글목록
등록된 댓글이 없습니다.