• Resolved eLeXeM

    (@elexem)


    Hi,
    I’m wondering if this can be used in conjunction with CDN Enabler – which seems to give a bit more granular control over which file types / directories to cache or exclude.

    But maybe I am missing some relevant section of your settings.

    Thank you for any insight you may be able to provide.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @elexem,
    CDN Enabler is for static file CDN provided by KeyCDN. When you are using this plugin you are using Cloudflare CDN which is astronomical times better than any CDN in the market. That being said you cannot use CDN enabler with this plugin as this plugin will make sure that your files are served by Cloudflare CDN (including the HTML i.e. the first load reducing your TTFB insanely).

    Whereas KeyCDN is only for static files (the way Cloudflare normally works without this plugin). Now if you wish to bypass certain filetypes from Cloudflare you can easily do that from our plugin settings. There is a dedicated section inside the Cache tab of the plugin settings named Prevent the following URIs to be cached (Screenshot: https://i.imgur.com/O6hfSpT.png) which you can use to bypass not only static files but also pages.

    So, for example, if you wish not to cache .pdf and .psd file, in that box you can add them like these:

    /*.pdf
    /*.psd
    

    Screenshot: https://i.imgur.com/mrzT5OI.png

    Hope this helps. ??

    P.S.: Just out of curiosity what static files you don’t want to be served by CDN and why? Static files never changes and are the best candidate for serving from CDN cache.

    Thread Starter eLeXeM

    (@elexem)

    I am very sorry; I had to paddle back on employing CloudFlare;
    apparently it conflicts with my hosters setup.

    Thank you for your feedback nonetheless.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can this be used with CDN Enabler?’ is closed to new replies.