We’re noticing on our homepage and header (credit card logos in the headers, category buttons on homepage) PNGs are not showing as transparent. This only happens in Chrome. It shows fine in Edge and Firefox. We’ve made sure Chrome was up to date, refreshed and flushed DNS, tried computers with different IPs, this issue is only isolated to Chrome.
We’ve narrowed it down to where this issue occurs if we have a check in the box for “Load WebP or AVIF in supported browsers?” If we leave that box unchecked, PNGs become transparent again in Chrome.
Plugin version is 2.8.1.
Any idea on why this is? We already have the Shortpixel plugin installed on the site. Is there any negative impact on the site if we leave that box unchecked?
For the time being, we left the box checked so if you go to https://gpwattjroperationsllc.com/ (in Chrome), you’ll see the issue we’re referring to.
I also have links below of how the site appears if the box is checked or unchecked.
Any help on this situation would be greatly appreciated.
Thank you,
Deirdre
Example:
My theme has a file called geo.php. This file contains a geolocation api. You must edit this file in the notepad or notepad ++ and add the following line:
<?php
define('DONOTCACHEPAGE', true);
/*
Template Name: Geolocation
*/
get_header(); ...
...
...
After adding this line, the Cache Enabler plugin will exclude this page from caching.
Also, you may have a cache problem with the Autoptimize plugin. To exclude any file from cache in Autoptimize plugin, add the code in your functions.php file. Before the closing ?> tag.
/* Autoptimize plugin exclude any page from cached */
add_filter('autoptimize_filter_noptimize','noptimize_quiz',10,1);
function noptimize_quiz($flag_in) {
if (strpos($_SERVER['REQUEST_URI'],'<FULL YOUR URL>')!==false) {
return true;
} else {
return $flag_in;
}
}
Warning! Only for those users who have advanced knowledge in writing php code in CMS WordPress.
]]>Autoptimize with options on the main page
https://drive.google.com/file/d/1zb3qKeyPZ7s1DM-_cKZL6Xg24-htt8kS/view?usp=sharing
Autoptimize without options on the main page
https://drive.google.com/file/d/1WlhisJbrMWviymTm71QktuxZ7R0EKvIW/view?usp=sharing
When I have the Optimize JavaScript Code option enabled, my site will not load in IE (Works fine in Chrome and Safari). Once I disable this option, I am able to load the site again. I validated it a few times on multiple machines.
I get the following error: Object doesn’t support property or method ‘forEach’
Any ideas on this? I am on the latest version of both plugins. Thank you in advance.
Ben
]]>From 2 days Autoptimize Plugin is not working when it is in active mode i am not able to see any images in our woocommerce website as soon as i disable the plugin i can see all the images back again. so there is error in the plugin i guess can any one help me out in this issue.
Thanks in advance
]]>So I tried many Plugins, but was not satisfied from their performance.
Then I found this little and Cute Plugin-Autoptimize. It makes optimizing my site better than before.
And after using it for over a year, now I’m using it for my all other websites; such as:-
1-https://www.topbestspot.com/
2-https://bloggingcreation.com/
3-https://luxuryhomedecorforcheap.com/
Thank you so much.
]]>I am new to WordPress and I am using the Autoptimize Plugin. I have been having a problem with the responsive layout especially on mobile since activating the plugin. So, I contacted my Theme Developer and below is their response:
Regarding responsiveness, our theme is responsive as you can see on our demo sites. We found that you have plugin conflict and that’s the conflict with autooptimize plugin.
Please check the screenshots here is how it looks with Autuoptimize plugin enabled
https://screencast.com/t/nufSRrk3mx
And when we disable it it looks like this
https://screencast.com/t/MMd7Tfx6
My website url is nikaousa.com.
I would greatly appreciate any assistance.
With best regards
]]>