Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter dK

    (@dkristanda)

    Sorry, forgot to add. My environment: WordPress 5.4.1 with lsphp7.4.5 on Ubuntu 20.04LTS

    Thread Starter dK

    (@dkristanda)

    You’re welcome. Just tiny contribution from my part who benefiting from this plugin that can be used for free…

    I hope you don’t mind if I lodged such finding in this support forum as imho, it might help other users more than just directly go to Github.

    Because you are so responsive, it also gives a good message that this plugin is being looked after very well.

    Merry Christmas
    Cheers,
    dk

    Thread Starter dK

    (@dkristanda)

    Hi W3TC team,

    Similar bug also happen in Cdn_Plugin.php when there is a set of source image srcset inside a javascript parameter. The culprint is function _srcset_replace_callback()

    It changes the correct javascript code of:

    <script>
    var myimage = "<img srcset='image2x.jpg 2013w, image1x.jpg 1006w' src='image.jpg'>"
    </script>
    

    to

    <script>
    var myimage = "<img srcset="image2x.jpg 2013w, image1x.jpg 1006w" src='image.jpg'>"
    </script>
    

    (Note the unescaped quotes)
    Neeed to distinguish html block with javascript block

    Thanks

    p.s: in my case all the above is relevant as Elegant Themes is using lots of responsive design process using javascript. Also any site that use ajax that deal with images could be affected.

    Thread Starter dK

    (@dkristanda)

    I see, thanks for letting me know!
    I think it is a very useful denominator for support personnel to differentiate with a general question. Can I use the word without square bracket? i.e: “Bug: topic”
    Thanks

    Thread Starter dK

    (@dkristanda)

    OK. That explained it.
    Thanks heaps!

    Thread Starter dK

    (@dkristanda)

    Hmm…so I was denied 2 options… lol

    Here it is… PageCache Advance box

    Is it interference from another plugin?
    The only thing that I installed related to W3TC is the helper plugin to help me do the manual mode “W3TC Minify Helper Version 1.0.0.1 By Magenta Cuda” which did help me get better js deferral. But have tried to disable this plugin, no effect to the missing options.

    Thanks
    Regards,
    Denis

    Thread Starter dK

    (@dkristanda)

    Oh, OK…
    I didn’t expect it is such a complex matter.

    So, if I may suggest, the admin page of plugins should give a visual indicator if WP_CONTENT_URL is set.

    I only notice this WP_CONTENT_URL because so many articles on the net suggested to use it to overcome “use the cookie-less domain” for static assets that are not on CDN.
    I can start already visualize “…but W3TC doesn’t support this” 🙂

    The solution is actually quite simple, just upload everything to the CDN (cost a bit to the CDN bill though) but faster!

    Thanks for reviewing this!!
    Cheers,
    Denis

    Thread Starter dK

    (@dkristanda)

    Yes, confirmed.. no pg cache compatibility.

    here is my screen capture

    View post on imgur.com

    weird?

    thanks!
    Denis

    ps. I hv submit another bug I found – quite big one/obvious.. but on hold by moderator due to lots of ‘dummy’ link as illustration. hope can be released soon.. if ever…

    Thread Starter dK

    (@dkristanda)

    Thanks for your reply and the github link

    I think what happen here is that the developer has removed the compatibility mode but havent fully strip the code.

    The only checkbox in Page Cache Advance is “late initialization” and “late caching”

    Also the exact coding is repeated at the Browser Cache plugin. Might be useful info for the developer if they want to strip it clean.

    Thanks again!

Viewing 9 replies - 1 through 9 (of 9 total)