• Resolved Mfa

    (@mfa95)


    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

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Frans Allen

    (@fransallen)

    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

    (@mfa95)

    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

    @mfa95
    To serve CDN for image ONLY you should set wp-content/uploads in Asset Inclusions setting.

    Screenshot: https://prnt.sc/s1m086

    It will serve images only.

    Hope that help

    Plugin Author Frans Allen

    (@fransallen)

    Thanks @whateverfree2, that should work for @mfa95 to serve image Only.

    @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

    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.