CDN for Joomla!

Problem with CDN 6.0.8PRO for Joomla

5 months 1 week ago #74686

Marcin Przybylek's Avatar Marcin Przybylek

Hi,

I have a problem with PRO version of this plugin.
Plugin has problems to change relative URLs to images, replace links to images in album and in article.
But the same problems has with some ordinary Joomla files.

I've checked informations on support forum but the problem still exist.

Here are screens of my configuration:




Here is my website:
funwind.com.pl

5 months 1 week ago #74687

Peter van Westen's Avatar Peter van Westen Admin

So where can I see the issue?

5 months 1 week ago #74705

Andy Connell's Avatar Andy Connell

I was just about to report a similar issue and noticed this thread which maybe similar? :unsure:

Using CDN CDN 6.0.6 PRO, all images relative or not, were all being pushed through CDN from CDN77.com
Update to CDN 6.0.8 Pro & more than 80% of images are now not using CDN, but a small number of them are.

I checked switching relative links on/off
I fully purged CDN cache & cleared site cache.

Confidential information:
(hidden)

In the hidden link above, using 6.0.6 pro, earlier, all images on the home page where running through CDN77, after updating to 6.0.8 only the thumbnail images in the news module at the bottom are running through CDN77

I can provide a link to another site running 6.0.6 if you need?

Thanks,
Andy

EDIT / UPDATE
Other than updating CDNfrom 6.0.6 to 6.0.8 on this site, nothing has been updated in a while.
Updating to 6.0.8 seems to introduce a plugin ordering issue, as I have dragged CDN for Joomla into the last position & now all is working as it was with 6.0.6 ?

Another EDIT / UPDATE
Tested updating 6.0.6 to 6.0.8 on other sites I have & all random outcomes, some had the same issue and needed the CDN for Joomla dragging into the last pace & others CDN for Joomla remained near the top or middle of the ordering and didn't have any issues with the image URL's? Odd

5 months 1 week ago #74710

Peter van Westen's Avatar Peter van Westen Admin

Can you be more specific? Which images don't get loaded through the cdn exactly?
If I look at your website, all images in the html output are using the cdn urls...

5 months 1 week ago #74712

Andy Connell's Avatar Andy Connell

Peter van Westen wrote:

Can you be more specific? Which images don't get loaded through the cdn exactly?
If I look at your website, all images in the html output are using the cdn urls...
They are now since reordering the plugin to the last position, as per my EDIT/UPDATE note in my original post.
Before that only the images in the latest news module at the very bottom where loading through the CDN.

This is same on some other sites where 6.0.8 is used, but reordering CDN plugin to the last position seems to fix it for me.

5 months 1 week ago #74715

Peter van Westen's Avatar Peter van Westen Admin

Ok, then reordering is the solution :)

5 months 1 week ago #74719

Marcin Przybylek's Avatar Marcin Przybylek

OK,
when you go on webpage funwind.com.pl
and see the source code of html, a lot of images are not redirected to CDN.

For example

<div class="slideElement" style="position: absolute; left: 0px; right: 0px; margin: 0px; padding: 0px; background-position: center center; opacity: 0; background-image: url(&quot;https://funwind.com.pl/images/slider_home/back_to_school_859.jpg&quot;);"></div>

<img src="/images/airplane.png" alt="airplane" style="float: left; margin-bottom: 37px; margin-right: 25px; margin-top: 34px;">
<img src="/images/oferta/FamilyCamp/hotel_alpino.jpg" alt="hotel alpino" width="311" height="206" style="margin-right: 10px; margin-bottom: 10px; float: left;">

Next: funwind.com.pl/funwind-wyjazdy.html
<img class="spClassImage field_gallery" src="https://funwind.com.pl/images/sobipro/entries/147/thumb_snowcamp2018.jpg" alt="thumb_snowcamp2018" title="thumb_snowcamp2018">

Next when you go on product page and watch popup image of product:
funwind.com.pl/sklep-internetowy-funwind...-heather-detail.html
<img id="fancybox-img" src="https://funwind.com.pl/images/stories/virtuemart/product/sun_rollie_grey.jpg" alt="">

5 months 1 week ago #74721

Peter van Westen's Avatar Peter van Westen Admin

Can you give me (super) admin and (s)ftp access so I can take a look?
You can use the 'Hidden text' button in the forum editor to hide the confidential information.

5 months 1 week ago #74743

Marcin Przybylek's Avatar Marcin Przybylek

Here are all informations:

Confidential information:
(hidden)

5 months 1 week ago #74745

Peter van Westen's Avatar Peter van Westen Admin

Please try the latest development version from:
www.regularlabs.com/development-releases

5 months 1 week ago #74746

Marcin Przybylek's Avatar Marcin Przybylek

Thank you for help. Now it's working well :cheer: :cheer:

5 months 1 week ago #74747

Peter van Westen's Avatar Peter van Westen Admin

Geest! :cheer:

5 months 6 days ago #74780

Marcin Przybylek's Avatar Marcin Przybylek

Hi again, B)

I have additional problem with plugin.
On key CDN I have transferred all css and js files.

When I add (in your plugin ) ccs or js files to use from CDN, I get errors and website looks bad.

Here you can example error from chrome developeer console:

Refused to execute script from ' stfls-92a9.kxcdn.com/media/jui/js/jquery.min.js ' because its MIME type ('application/octet-stream') is not executable, and strict MIME type checking is enabled

Resource interpreted as Stylesheet but transferred with MIME type application/octet-stream: <some css file>

I't looks like your plugin has wrong method including js or css files from CDN

5 months 6 days ago #74781

Peter van Westen's Avatar Peter van Westen Admin

CDN for Joomla! only changes the urls in your website from the local version to the CDN version.
If the file does not load correctly from the CDN server, then the issue is there.
Best to ask KeyCDN for support on this.

5 months 6 days ago #74782

Marcin Przybylek's Avatar Marcin Przybylek

file if loaded correctly - please click on link above

Problem is that a file is included in web code as "application/octet-stream" - for css should be text/css

When I put this link from CDN manually to header of joomla template - it's work well.
Problem exist only when I get file trough your plugin

5 months 6 days ago #74783

Peter van Westen's Avatar Peter van Westen Admin

CDN for Joomla! doesn't add the application/octet-stream to your html.

5 months 6 days ago #74784

Marcin Przybylek's Avatar Marcin Przybylek

OK, I will try to ask keyCDN, thanks