Title: Only Cache IMG?
Last modified: April 16, 2020

---

# Only Cache IMG?

 *  Resolved [Mfa](https://wordpress.org/support/users/mfa95/)
 * (@mfa95)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/only-cache-img/)
 * Hello, I installed this plugin to test my wordpress site. I just want the pictures
   to be cached. but the js and css cache is also active. how can i turn it off?
 * I am using cloudflare. Since I made a lot of changes, js and CSS are updated 
   frequently. but pictures never change. so I just have to cache the pictures. 
   Please check my site [https://arkaplanlar.com](https://arkaplanlar.com)
 * Also, wordpress jquery, jquery mintage, theme.min.css, style.min.css files are
   presented from the cache. idont want this. cdn.statically.com/wp …?
 * please just help me cache the pictures. my settings like this, what should I 
   do? (sorry for my english. i’m using google translate.)
 * [https://i.ibb.co/QnpDY3p/Screenshot-2020-04-16-17-46-10-655-com-android-chrome.jpg](https://i.ibb.co/QnpDY3p/Screenshot-2020-04-16-17-46-10-655-com-android-chrome.jpg)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Frans Allen](https://wordpress.org/support/users/fransallen/)
 * (@fransallen)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/only-cache-img/#post-12687230)
 * Hi there,
 * With your current settings should work to exclude JS and CSS files.
 * The `https://cdn.statically.io/wp/` only for WordPress core assets and should
   not have an effect on assets that change frequently. This should be safe. The
   upcoming v0.5 has the option to turn off the CDN for WP Core assets. Please stay
   tuned!
 * > the js and css cache is also active
 * I checked your page and no other JS or CSS files are served using CDN. Try clearing
   the cache in your cache plugin. That may be your case.
 * Best,
    Frans
 *  Thread Starter [Mfa](https://wordpress.org/support/users/mfa95/)
 * (@mfa95)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/only-cache-img/#post-12691589)
 * thanks, but i’m using css and js minify. The files I need are compressed. In 
   addition, wordpress assets do not need to be loaded from cdn. it would be great
   to turn it off. The configuration is not complete because I tested the plugin
   on a closed site. I also use litespeed cache. there cloudflare is active. I also
   enter the settings to add your cdn service but it doesn’t work. I guess there
   is no place to enter the api because of this? Please match the cdn settings in
   litespeed cache. Can you check? Is it mandatory to install an external plugin?
   litespeed does a lot of things. just adapt. thanks
 *  [whateverfree2](https://wordpress.org/support/users/whateverfree2/)
 * (@whateverfree2)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/only-cache-img/#post-12692523)
 * [@mfa95](https://wordpress.org/support/users/mfa95/)
    To serve CDN for image 
   ONLY you should set **wp-content/uploads** in **Asset Inclusions** setting.
 * Screenshot: [https://prnt.sc/s1m086](https://prnt.sc/s1m086)
 * It will serve images only.
 * Hope that help
 *  Plugin Author [Frans Allen](https://wordpress.org/support/users/fransallen/)
 * (@fransallen)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/only-cache-img/#post-12693205)
 * Thanks [@whateverfree2](https://wordpress.org/support/users/whateverfree2/), 
   that should work for [@mfa95](https://wordpress.org/support/users/mfa95/) to 
   serve image Only.
 * [@mfa95](https://wordpress.org/support/users/mfa95/) re: WP Core assets, in the
   upcoming v0.5 there’s an option to turn this off. Here’s the preview:
 * [https://upset.dev/uploads/Screenshot%20from%202020-04-17%2000-30-55.png](https://upset.dev/uploads/Screenshot%20from%202020-04-17%2000-30-55.png)
 * I’m not sure how you mean by closed site, what I know is that CDN can’t work 
   if your site can’t be accessed through the internet or requires authentication.
   Your site must be on the internet or be accessible by our server.
 * Should work with any caching plugin, just enter the right format of CDN URL e.
   g `https://cdn.statically.io/sites/example.com`.
 * Let me know if you have other questions.
 * Best,
    Frans

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Only Cache IMG?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/statically_ffffff.svg)
 * [Statically](https://wordpress.org/plugins/statically/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/statically/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/statically/)
 * [Active Topics](https://wordpress.org/support/plugin/statically/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/statically/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/statically/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Frans Allen](https://wordpress.org/support/users/fransallen/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/only-cache-img/#post-12693205)
 * Status: resolved