Will Stocks
Forum Replies Created
-
Forum: Plugins
In reply to: [EWWW Image Optimizer] WebP + WP Offload (S3 + Cloudfront)I believe it is implemented that way to cater for WPβs responsive image sizing?
data-srcsetis fairy standard for lazysizes as far as Iβm aware, for responsive images?I will speak to the theme devs to understand more around the
data-srcvsdata-srcsetimplementation and potential impact of changing.Will
data-srcsetbe supported at some point?Is there also a reason that the image
srcisnβt being rewritten to.webpas I wouldβve expected that to as well (although I can handle that one easily myself, just thought it was weird)Forum: Plugins
In reply to: [EWWW Image Optimizer] WebP + WP Offload (S3 + Cloudfront)Thanks @nosilver4u – And apologies, I have just re-enabled JS WebP now. It is running on my site so you can see the current status. Please also note I tweaked my CDN URLs listing to try and get it to work… it now has the following listed:
cdn.willstocks.co.uk
cdn.willstocks.com
https://cdn.willstocks.com/
https://cdn.willstocks.co.ukIn terms of the appending via PHP, my latest plan was to also include a WebP polyfill (https://webpjs.appspot.com/) so that all visitors would see the .webp version without an issue.
I attempted to do a cheeky:
$content = preg_replace( '/(?<=["\'])[^"\']+?\.(?:jpe?g|png|gif)(?=["\'])/', '${0}.webp', $content );But it doesn’t seem to like that, lol! Regex is a dark art and not one I’m all too well skilled in! I was fortunate in that 95% of the lazysizes implementation came as part of the theme I am using.
Do you want/need the full debug listing?
- This reply was modified 6 years, 10 months ago by Will Stocks. Reason: code block
- This reply was modified 6 years, 10 months ago by Will Stocks. Reason: regex had erroneous /m modifier
Forum: Plugins
In reply to: [EWWW Image Optimizer] WebP + WP Offload (S3 + Cloudfront)I have also just noticed that it is handling my logo… so my sidebar, footer and logo are the only three images being affected. All three of these images sit outside of the_content? No images within the_content/post content is being affected for some reason?
Forum: Plugins
In reply to: [Super Progressive Web Apps] Super PWA still alive?Hey @arunbasillal π
Do you have any idea when we can expect an update? I know you guys had quite a lot in the pipeline (iOS splash screens etc.) and with recent PWA changes for Desktop devices (Chrome + Omnibar), it would be GREAT to get an idea as to when all of these PWA features will become “natively” supported by Super PWA!
Yes yes yes @amazonlinkbuilder – I’m hoping you guys are back and resolving the issues we’re all seeing with AALB!! π
I see 1.9.3 was released yesterday – @taisa1984 @magicfilou do either of you still happen to still be using AALB and can you confirm whether this update fixes anything for you?
@amazonlinkbuilder are you able to confirm the status of the plugin and any ETA for any of these issues being resolved?
Forum: Plugins
In reply to: [W3 Total Cache] Potential support for Cloudflare Worker caching pluginGreat news π Thanks @vmarko!
@ianmjones could you confirm that the above is an appropriate course of action to take? Would there be any possibility of supporting this within the plugin natively, as opposed to having to maintain this for each WP Offload release? π
@takayukister any luck with this one?
My form sits on https://willstocks.co.uk/contact
I will get a list of plugins for you, but my theme files have not changed for months now (bespoke theme) and this is not an error I’ve ever seen before when using this theme (I’ve had to check PHP logs regularly for other issues).
It is my first time checking PHP logs in about 6 – 8 weeks to be honest.
Forum: Plugins
In reply to: [W3 Total Cache] RSS Feed not being gzip’ed/brotli’edHey @vmarko
Hope you’re well?
I noticed that this one is still an issue through 0.9.7.4 and .5 – do you happen to know when this will be resolved?
Thanks,
Will
Forum: Plugins
In reply to: [W3 Total Cache] RSS Feed not being gzip’ed/brotli’ed@vmarko was this included in 0.9.7.4? I noticed a changelog item of “Improved cache delivery of /feed URLs” but I can’t tell if that’s just caching?
I have also noticed that W3TC doesn’t handle .webmanifest files being gzipped/brotli’ed either, is this also planned for the future?
I tried to add both to my htaccess rules, but I’m still not seeing my feed or webmanifest files being gzipped/brotli’ed:
<IfModule mod_mime.c> AddType text/css .css AddType text/x-component .htc AddType application/x-javascript .js AddType application/javascript .js2 AddType text/javascript .js3 AddType text/x-js .js4 AddType text/html .html .htm AddType text/richtext .rtf .rtx AddType image/svg+xml .svg AddType text/plain .txt AddType text/xsd .xsd AddType text/xsl .xsl AddType text/xml .xml AddType video/asf .asf .asx .wax .wmv .wmx AddType video/avi .avi AddType image/bmp .bmp AddType application/java .class AddType video/divx .divx AddType application/msword .doc .docx AddType application/vnd.ms-fontobject .eot AddType application/x-msdownload .exe AddType image/gif .gif AddType application/x-gzip .gz .gzip AddType image/x-icon .ico AddType image/jpeg .jpg .jpeg .jpe AddType image/webp .webp AddType application/json .json AddType application/vnd.ms-access .mdb AddType audio/midi .mid .midi AddType video/quicktime .mov .qt AddType audio/mpeg .mp3 .m4a AddType video/mp4 .mp4 .m4v AddType video/mpeg .mpeg .mpg .mpe AddType video/webm .webm AddType application/vnd.ms-project .mpp AddType application/x-font-otf .otf AddType application/vnd.ms-opentype ._otf AddType application/vnd.oasis.opendocument.database .odb AddType application/vnd.oasis.opendocument.chart .odc AddType application/vnd.oasis.opendocument.formula .odf AddType application/vnd.oasis.opendocument.graphics .odg AddType application/vnd.oasis.opendocument.presentation .odp AddType application/vnd.oasis.opendocument.spreadsheet .ods AddType application/vnd.oasis.opendocument.text .odt AddType audio/ogg .ogg AddType application/pdf .pdf AddType image/png .png AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx AddType audio/x-realaudio .ra .ram AddType image/svg+xml .svg .svgz AddType application/x-shockwave-flash .swf AddType application/x-tar .tar AddType image/tiff .tif .tiff AddType application/x-font-ttf .ttf .ttc AddType application/vnd.ms-opentype ._ttf AddType audio/wav .wav AddType audio/wma .wma AddType application/vnd.ms-write .wri AddType application/font-woff .woff AddType application/font-woff2 .woff2 AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw AddType application/zip .zip AddType application/manifest+json .webmanifest </IfModule> <IfModule mod_brotli.c> <IfModule mod_filter.c> AddOutputFilterByType BROTLI_COMPRESS text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access video/webm application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel application/manifest+json application/rss+xml application/octet-stream <IfModule mod_mime.c> # BROTLI_COMPRESS by extension AddOutputFilter BROTLI_COMPRESS js css htm html xml webmanifest rss </IfModule> </IfModule> </IfModule> <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access video/webm application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel application/manifest+json application/rss+xml application/octet-stream <IfModule mod_mime.c> # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml webmanifest rss </IfModule> </IfModule> </IfModule>Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] jQuery console error being loggedOut of curiosity… could this not be converted to a vanilla js snippet, rather than relying on jquery?
Forum: Plugins
In reply to: [Contact Form 7] No submitted forms are being emailed to meI swapped out wp_mail for SMTP (using Google) and I’m now seeing emails come through, so can only assume something broke in wp_mail for me…
Forum: Plugins
In reply to: [Contact Form 7] Statistics show thousands of hits on Contact Form/refillRefill is something to do with dynamic content on cache pages: https://wordpress.org/support/topic/file-refill/
So if you use recaptcha, you might find you see multiple /refill requests for a single page visit
Forum: Plugins
In reply to: [Super Progressive Web Apps] Tested with WP 5.2 and PHP 7.3?FWIW – I’m running WP 5.2 and PHP 7.3 and everything is working perfectly fine for me π