Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hi there!

    Firstly, I should point out that the CDN support feature is still a bit experimental. This means that it does not manage to treat all images in a page as it is designed. It allows “some” to be downloaded in their original version.

    However, when an image is accessed directly like this https://images.thetimethespace.com/wp-content/uploads/2015/12/Reflections-of-Mexico-853×1280.jpg?resolution=360,1 then this image should be resized according to the plugin settings.

    The first things you must check is that the plugin settings are saved correctly and that the CDN cache is flushed, so it does not serve old versions of the images!

    Let me know how it goes,
    Cheers,
    Takis

    Thread Starter shaderf

    (@shaderf)

    Hi there, thanks for the reply. images.thetimethespace.com is actually a cname I’ve setup for my CDN, so it is being served by the CDN. Perhaps this is the problem and the plugin isn’t properly accounting for this? Here’s a screenshot of my current plugin settings as well. https://www.thetimethespace.com/wp-content/uploads/2015/12/pluginsettings.jpg

    Plugin Author Takis Bouyouris

    (@nevma)

    Well, the plugin is working alright in the background. Look at this image https://www.thetimethespace.com/wp-content/uploads/2015/12/Reflections-of-Mexico-853×1280.jpg?resolution=360,1. It is directly accessed via the “www” subdomain of the website itself an not the “images” subdomain. This image is served properly resized.

    Your plugin settings seem alright! Could you please check if the CDN cache is actually flushed? Because the plugin does not need to know what the CDN is or what its subdomain is.

    Thread Starter shaderf

    (@shaderf)

    Thank you very much. I did that and it is now working. The only thing is Google Page Speed still gives me a bad score for mobile saying I need to resize and compress further. I guess that is outside of the scope of this =\

    https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.thetimethespace.com%2F&tab=mobile

    Plugin Author Takis Bouyouris

    (@nevma)

    Great!

    To be honest I do not recommend Google Pagespeed as a tool for performance testing. The reasons are more or less summarised here https://blog.wp-rocket.me/the-truth-about-google-pagespeed-insights/ for instance.

    Our plugin CDN support will become much more stable and complete in the upcoming version 0.7.0.

    Cheers,
    Takis

    Hi Takis,

    I am having the same issue with not getting adaptive images using Amazon’s Cloudfront CDN so I hope you might be able to see if a similar issue is happening.

    I HAVE cleared the CDN and Cache but am not seeing results: https://www.justinjonesmusic.com/

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, there,

    I am afraid that the way that Cloudfront handles images completely bypasses your WordPress server and our plugin. Let me explain a bit about the unusual cases one might confront.

    Our plugin can work with a CDN, although this feature is still a bit experimental. “Experimental” means that we cannot yet support CSS background images.

    Also, in order for our plugin to work with a CDN for your everyday IMG elements, the CDN must respect any url parameters on IMG elements, because this is the technique we use at this point.

    Let me know if I can help any further!

    Cheers,
    Takis

    PS: If I may add an observation I made, I have to say that I did notice a lot of Javascript related delays in your web page. These might be due to many scripts running on the page load coming from WordPress or jQuery plugins, etc. Also I could point you to the inclusion of the HTML5 Youtube videos in the home page, which do seem to take quite some time to prepare.

    Hi Takis,

    Thanks for your reply and feedback. I have taken some measures to reduce the external js by using WP Youtube Lyte, which uses the Youtube API but does not load js right away and I’ve replaced the SoundCloud widget with another ‘liter’ approach. The images are really my last hurdle in speeding up this site. I see that @shaderf was able to get CloudFront to work with the plugin. Is shaderf doing something different from me? Do I need to load the images manually first by adding the suffix (e.g. ?resolution=360,1) or would that not work anyway?

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, again,

    What @shaderf is doing is making sure that the images are served via the same WordPress installation domain as the website itself! I am so sorry I cannot help you more specifically on how to do this in CloudFront particularly!

    But, if you do the same, then what you need to do is to have the CDN support option enabled in your plugin settings.

    Cheers,
    Takis

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Images not resizing’ is closed to new replies.