• Resolved SylverTECH

    (@sylvertech)


    Hello Shift8 from Quebec/Canada!

    First of all, let me congratulate you for bringing us this fabulous service.

    I started to use your application little more than 1 month ago and what brought me on was the tremendous simplicity of setting up the service and so, the rapidity to come alive and starting to use the service.
    Congratulations for this!

    I come to you today because there is a problem I am experiencing since the beginning that I didn’t succeeded to overcome till now.

    My problem concerns the support of Media / Images by your CDN.
    The CDN fully supports all my “.css” and “.js” files, but only supports 1 or 2 image (.jpg, .gif, .png, etc…) files out of 10. I suppose this is not normal, isn’t it ?

    The problem can be seen if you look for ” https://sylver-tech.com ” at GTMetrix (Waterfall / Images + Other) and/or at Pingdom.

    I know that regarding this site you will see that there are Hummingbird Caching and Optimization in action as well as ShortPixel Adaptive Image (SPAI) images serving and CDN service, but before you ask me for, I already tell you that I have many times cleared these caches and deactivated these plugins, and nothing changes. Also, these do not affect “.css” and “.js” files from being all supported by Shift8.

    To make it really safe for testing, I set up lately a “Testing Site” and created a new additional Shift8 Pull Zone with the above mentioned plugins or functions deactivated. You can check with this site if you prefer: ” https://sylver-tech.com/test-01/ “.

    Hoping you can solve this issue for me.
    Thank you for your support.

    Sylvain V.

    ___________________________

    Shift8 CDN DEBUG Info:
    WordPress Version: 5.4.2
    Current WordPress Theme: Highlight version 1.0.15mesmerize
    Theme Author: ExtendThemes – https://extendthemes.com/
    Theme URI: https://extendthemes.com/highlight
    PHP Version: 7.4.8

    Active Plugins:

    Admin Menu Editor (1.9.5)
    Advanced Image Styles (0.4.1)
    Advanced TinyMCE Configuration (1.6)
    Akismet Anti-Spam (4.1.3)
    Arconix FAQ (1.9.1)
    Asset CleanUp: Page Speed Booster (1.3.6.0)
    Autoptimize (2.6.2)
    Better Search Replace (1.3.3)
    Canada Post Shipping For WooCommerce (2.5.1)
    Change Username (1.0)
    Child Theme Configurator (2.5.2)
    Classic Editor (1.5)
    Collapse-O-Matic (1.7.11)
    Disable Cart Fragments (1.21)
    Duplicate Page (4.0)
    Duplicator (1.3.24)
    Easy Google Fonts (1.4.4)
    Elementor (2.9.6)
    Enable Media Replace (3.3.11)
    Find Posts Using Attachment (1.0)
    Google Analytics for WordPress by MonsterInsights (7.10.4)
    Header and Footer Scripts (2.1.1)
    Hummingbird (2.4.2)
    Insert HTML Snippet (1.3.1)
    Media File Renamer (Auto Rename) (4.7.0)
    Mesmerize Companion (1.6.111)
    MslsMenu (2.1)
    MslsSelect (2.1)
    Multisite Language Switcher (2.3.0)
    Multisite Post Duplicator (1.7.6)
    Network Media Library (1.5.0)
    Ninja Forms (3.4.24.1)
    NS Cloner – Site Copier (4.0.7)
    Quick and Easy FAQs (1.3.0)
    Rank Math SEO (1.0.45)
    Rename Media Files (1.0.1)
    Shift8 CDN (1.42)
    Shortcode For Current Date (2.1.1)
    Shortcoder (4.6)
    Shortcodes Ultimate (5.7.0)
    ShortPixel Adaptive Images (2.0.4)
    ShortPixel Image Optimizer (4.17.3)
    Simple Revisions Delete by bweb (1.5)
    Social Bucket (1.0.9)
    The SEO Framework (4.0.7)
    TinyMCE Advanced (5.3.0)
    Ultimate FAQ (1.8.30)
    UpdraftPlus – Backup/Restore (1.16.21)
    W3 Total Cache (0.13.1)
    WooCommerce (4.2.2)
    WordPress Importer (0.7)
    WP-Optimize – Clean, Compress, Cache (3.0.16)
    WP Cerber Security, Anti-spam & Malware Scan (8.6.6)
    WP fail2ban (4.2.7.1)
    WP Fail2Ban Redux (0.5.1)
    WP Site Importer (1.9.5.1)

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

Viewing 10 replies - 16 through 25 (of 25 total)
  • Plugin Author shift8

    (@shift8)

    Hey there,

    An update was just pushed our for our plugin that accommodates lazy loading of images. This might be what the issue was for you, especially since lazy loading was introduced to WordPress core as of 5.5.

    Please let me know if you notice an improvement on the rewriting of images/media to go through the CDN after applying this update.

    Thanks!

    Thread Starter SylverTECH

    (@sylvertech)

    Hi Shift8,

    Sorry for the delay!
    I didn’t had time to work on this problem for a while.

    Returned to the problem lately.
    I have upgraded to WordPress 5.5.3 and installed your latest update.
    Unfortunately, NO change to the problem!

    I don’t know if there will ever be a solution to this problem?
    I’m about to throw the towel…

    Sorry

    Plugin Author shift8

    (@shift8)

    I had a similar experience with another user where a completely unrelated plugin was actually interfering with our plugin’s ability to rewrite all static assets.

    Some plugins can interfere with this process by affecting the filter / action priority or importance. And it can be a random plugin that does something that you would not think to potentially affect how a CDN plugin works.

    What we did in that scenario was open the site in one browser with the developer console + network tab open. Then disable one plugin at a time while checking the network tab of your browser to see if the rewrite issue is resolved and all static assets start to rewrite properly to go through the CDN.

    Once you have identified the plugin you can then determine if its possible to simply keep it deactivated or find an alternative.

    As a last resort, I would say that most of the top tier caching plugins like W3 Total Cache and WP Rocket offer the ability to rewrite assets to go through your CDN of choice. You can always try that method though our CDN plugin works the same way as WP Rocket (for example) so the problem may not just go away, but its worth a shot as a last resort.

    I’m not giving up! I think if we just rule out each and every plugin , refresh the network tab and look at those static assets, then once we see all the assets go through the CDN we will know which plugin is causing a problem.

    Thread Starter SylverTECH

    (@sylvertech)

    Regarding the Plugins conflict hypothesis, let me remind you that following your August 11 suggestion, I already disabled all plugins (see my August 12 reply), cleared all caches with no result.

    Plugin Author shift8

    (@shift8)

    Truly something weird. [redacted ask for access]

    Something is definitely interfering with the ability to rewrite static assets with our plugin. The code our plugin uses to rewrite is very similar to W3 total cache and WP Rocket among others so there’s nothing special happening under the hood of our plugin.

    [removed]

    • This reply was modified 3 years, 5 months ago by Ipstenu (Mika Epstein). Reason: removing admin related asks
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    @shift8 This is your last warning. Stop asking people for access to their site. Don’t ask for admin access, don’t ask for a local version of the site, don’t share your email and ask people to contact you off the forums, none of that.

    We get it, you’re trying to be helpful, but ask you’ve been told before, this is not the correct way to do that here on WordPress.org. Right now, to us, it looks like you’re trying very hard to ‘get around’ a restriction, and we really need you to just stop.

    If you want to come by Slack and ask in the #forums channel why it has to be that way, you’re welcome. You can also contact the plugin review team (plugins AT wordpress.org) and we’ll do our best to explain for you. But right now, you’re breaking the forum guidelines.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    My problem concerns the support of Media / Images by your CDN.
    The CDN fully supports all my “.css” and “.js” files, but only supports 1 or 2 image (.jpg, .gif, .png, etc…) files out of 10. I suppose this is not normal, isn’t it ?

    @sylvertech Can you identify examples where images work and ones where they don’t?

    It’s a CDN, so in theory @shift8 can have someone on their site look at the server logs to see if there’s a specific error related to those files, and help you narrow it down.

    You should also check that there isn’t a random error in your .htaccess (like an anti-hot-linking block) or the theme (you can switch to TwentyTwenty) causing the conflict.

    Plugin Author shift8

    (@shift8)

    Alright – I am indeed trying to be helpful. I wont ask for any form of access moving forward.

    Looking at the server logs on our side wouldn’t be helpful here because whats happening is that the rewrite functionality in our plugin is being interrupted for some static assets (not all) being rewritten.

    The functionality of the CDN on our side isn’t what the question is here, rather why only some static assets are being overwritten but not all. The rewrite functionality in our plugin is very similar to how WP Rocket works (For example) so I know best practices are being followed there.

    The real issue in my experience (as reported by other users in this forum) is that sometimes another plugin can cause conflicts with rewriting of content in this way, which is my feeling of whats happening here.

    I apologize @ipstenu – both @sylvertech and myself are just frustrated about this long standing issue. I’d like to support him as best as I can, even though this is a free service.

    Thread Starter SylverTECH

    (@sylvertech)

    OK! I’m done. I quit.
    I’ll stop using this plugin for CDNing Images.
    It doesn’t worth the trouble.

    Sorry for the inconveniences Shift8 and thanks for your valuable efforts to solve this issue despite the limitations of this Forum…

    Plugin Author shift8

    (@shift8)

    Sorry about the issues. I tried my best!

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Problem with Images/Media’ is closed to new replies.