• Resolved Johnny T

    (@johnny-t)


    Hi there,

    I’ve got the pro version of zencache (brilliant plugin BTW!) and I’m trying to set up the CDN.

    I’ve created a distribution (and it’s propogated and ‘Enabled’) and have the cloudfront url. I’ve tested the cloudfront url by entering it into my address bar with an image such as:
    d1v41qxxxie0l.cloudfront.net/thisImage.jpg

    And it all works fine.

    But when I enter that URL into the CDN section of the plugin and reload the page none of the sources of the static content seems to come from cloudfront – it all seems to still be locally sourced.

    I’ve tried clearing the cache but to no avail.

    Does it take time to propogate into the site or something?

    Or am I doing something wrong?

    Many thanks

    John 🙂

    https://wordpress.org/plugins/zencache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Johnny T

    (@johnny-t)

    ** UPDATE **

    I’ve noticed that it DOES seem to be working on everything BUT images ?

    So all the .jpg images are still served from my local server?

    I haven’t got anything in the Whitelist / Blacklist apart from the defaults in the Blacklist?

    Anyone any ideas why this is? The .js / .css etc are all being served from my cloudfront account?

    Is there another setting somewhere that I’m missing?

    Or could it be due to the way I’m showing the images in the code or something? (I use lazyLoad.js jquery plugin to lazy load the images – I wonder if this is the problem – the actual src of the image is held in a data-attribute within the img tag).

    I may need to manually set the src to these images to the cloudfront url?

    Thanks

    John 🙂

    Plugin Author Raam Dev

    (@raamdev)

    @johnny-t Please open a support ticket. As per the WordPress.org Support Forum Rules, we’re not allowed to discuss Pro products here.

    Thread Starter Johnny T

    (@johnny-t)

    Hi Raamdev,

    Thanks for getting back to me. I’m busy sorting this issue myself. I’ve added a button in the admin section which allows me to turn on/off a system which replaces the static url with the url of my cdn.

    Whilst you’ve got your helping hat on though could you head over to your Pro Support Forum and answer my other question in there about WordPress nonce’s?

    Many thanks

    John 🙂

    Plugin Author Raam Dev

    (@raamdev)

    Whilst you’ve got your helping hat on though could you head over to your Pro Support Forum

    @johnny-t We don’t have any “Pro Support Forum”. Are you referring to a ticket? If so, can you tell me the ticket number?

    Thread Starter Johnny T

    (@johnny-t)

    It’s number 7241 raamdev.

    Thanks 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ZenCache Pro – CDN not working?’ is closed to new replies.