dK
Forum Replies Created
-
Forum: Plugins
In reply to: [Pareto Security] Fatal Error on Version: 2.7.0Sorry, forgot to add. My environment: WordPress 5.4.1 with lsphp7.4.5 on Ubuntu 20.04LTS
Forum: Plugins
In reply to: [W3 Total Cache] Lazyloading breaks JavascriptYou’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,
dkForum: Plugins
In reply to: [W3 Total Cache] Lazyloading breaks JavascriptHi 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 blockThanks
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.
Forum: Plugins
In reply to: [W3 Total Cache] Lazyloading breaks JavascriptI 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”
ThanksForum: Plugins
In reply to: [W3 Total Cache] Possible Bug: Missing Cache Validator for FontsOK. That explained it.
Thanks heaps!Forum: Plugins
In reply to: [W3 Total Cache] Possible Bug: Missing Cache Validator for FontsHmm…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,
DenisOh, 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,
DenisForum: Plugins
In reply to: [W3 Total Cache] Possible Bug: Missing Cache Validator for FontsYes, confirmed.. no pg cache compatibility.
here is my screen capture
weird?
thanks!
Denisps. 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…
Forum: Plugins
In reply to: [W3 Total Cache] Possible Bug: Missing Cache Validator for FontsThanks 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!