# Cloudflare에서 이미지와 CSS만 캐싱하려면 (.js 파일과 관리자 영역 제외)

**URL:** <https://meta.discourse.org/t/how-to-enable-cloudflare-caching-of-images-and-css-only-exclude-js-files-and-admin-area/222996>\
**Category:** Self-hosting\
**Created:** [4월 3, 2022, 12:23오후 UTC](https://meta.discourse.org/t/how-to-enable-cloudflare-caching-of-images-and-css-only-exclude-js-files-and-admin-area/222996 "2022-04-03T12:23:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)\
**Post date:** [4월 3, 2022, 12:23오후 UTC](https://meta.discourse.org/t/how-to-enable-cloudflare-caching-of-images-and-css-only-exclude-js-files-and-admin-area/222996/1 "2022-04-03T12:23:30Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/1/7/17cbcddcf1a0313c325bdf1d0584bc3b53807cbd.png)

페이지 규칙을 사용했습니다. 아직 테스트 중이지만, 한 달간 사용하면서 충돌이나 문제가 없다면 이 게시물에 더 자세한 내용을 업데이트할 예정입니다.

이 방법이 잘 작동한다면, .js 파일 중 일부만 캐시하고 특정 파일은 제외하도록 규칙을 더 광범위하게 수정할 계획입니다.

**수정:** 지금까지 문제없습니다. [포럼](https://forums.haydenjames.io/)에 방문하면 속도감을 체감할 수 있습니다. stacklinux.com으로 호스팅 중이며 (3.5GHz 코어 + NVMe @ 2G/s + 3GB 메모리) 구성되어 있습니다.

---

_[View the full topic](https://meta.discourse.org/t/how-to-enable-cloudflare-caching-of-images-and-css-only-exclude-js-files-and-admin-area/222996)._
