Hy,
It is always showing Autooptimize 100% why?
Thank you
Hi, is there anyone who could help / make me the advise for best plugin settings? I am dealing with low speed index, specially on mobile.
Thank you.
recently my modula galleries stopped displaying in chrome and edge. Opera was ok. i had to disable AO to get them working again. no joy with emptying cache
]]>Hi
We’re picking up doing_it_wrong warnings with Automptimize and WordPress 6.7:
Function _load_textdomain_just_in_time was called incorrectly
classes/autoptimizeProTab line 24 & line 26
It looks like you’re calling esc_html__() in the constructor, before WP has initialised. The guidance says to move any calls that might use gettext() or translate() into the init action (or later).
Thanks
Paul
]]>Hi,
Can Autoptimize and cache plugins like W3 Cache or Wp Optimize be used at the same time?
How about Autoptimize with Asset CleanUp plugin?
My goals are to add website cache, remove unused CSS and optimize some fonts, while keeping my settings in Autoptimize (CSS and JS optimization).
thank you! ??
]]>Hello,
I used the tutorial https://www.elegantthemes.com/blog/divi-resources/how-to-create-a-mobile-collapsing-nested-menu-with-divis-theme-builder to customize the mobile menu.
Unfortunately, the code seems to be changed by autoptimize, so I can’t expand the menu by clicking on the +. But with the parameter ?ao_noptirocket=1 in the URL and on my staging (without caching) it works.
How can I prevent autooptimize from adapting the code?
<style>
.et_mobile_menu .first-level > a {
background-color: transparent;
position: relative;
}
.et_mobile_menu .first-level > a:after {
font-family: 'ETmodules';
content: '\4c';
font-weight: normal;
position: absolute;
font-size: 16px;
top: 13px;
right: 10px;
}
.et_mobile_menu .first-level > .icon-switch:after{
content: '\4d';
}
.second-level {
display: none;
}
.reveal-items {
display: block;
}
</style>
<script>
(function($) {
function setup_collapsible_submenus() {
var FirstLevel = $('.et_mobile_menu .first-level > a');
FirstLevel.off('click').click(function() {
$(this).attr('href', '#');
$(this).parent().children().children().toggleClass('reveal-items');
$(this).toggleClass('icon-switch');
});
}
$(window).load(function() {
setTimeout(function() {
setup_collapsible_submenus();
}, 700);
});
})(jQuery);
</script>
Thanks a lot, Nico
]]>Hi!
Is it ok to use a plugin such as Hummingbird to enable Gzip compression and Expires headers, and at the same time also use Autoptimize to optimize css and java script (critical css, minify, aggregate, inline javascript and css) and Async JS? Will this cause any conflicts? Thanks!
]]>Hi, I have this problem on a Divi based site that uses WP Super Cache along with your plugin.
WP Super Cache is set to recreate the cache twice a day with preload.
For years the system worked correctly and the files generated by your plugin were regenerated every time remaining in the order of magnitude of 140 files.
For some time now I have noticed that after a manual reset of the cache of both plugins and after preloading I have the usual 140 files generated by Autoptimize, and that’s ok.
But if I let the system operate autonomously after a few days of WPSC preload they become around 500 and I have to reset manually.
Again, for years this did not happen with same setting on both plugins.
Is there any setting of your plugin that can avoid this large number of files?
Thanks in advance!
Francus
Hi,
I have recently added Autoptimize to my site and I have noticed it creates a big render-blocking css file, which delays my LCP from loading.
is there any way to make it so it s not render-blocking, or to split it up somehow?
Thank you!
]]>I’m trying to optimize the site page load time and i have activated the plugin Autoptimize. By investigating the reports from SEMrush and PageSpeed, they both recommending to compress the script files. I’m confused why the script issue remains even i have activated the plugin, and suprisingly there are 3 files from Autoptimize are reported as negatively affecting the page loading time. The three files are: https://preventiondisinfectants.com/wp-content/cache/autoptimize/js/autoptimize_619299f0efe44924d9b3e58bc4a12997.js, https://preventiondisinfectants.com/wp-content/plugins/autoptimize/classes/external/js/lazysizes.min.js, https://preventiondisinfectants.com/wp-content/cache/autoptimize/js/autoptimize_7dd3d1c0d5af873bdaee0d383b5f622f.js.
Please help me to resolve the optimization issue.
The page speed reports you could reference are: https://pagespeed.web.dev/analysis/https-preventiondisinfectants-com/svb9ikb6hx?form_factor=mobile and https://pagespeed.web.dev/analysis/https-preventiondisinfectants-com-product-overview/gzld0jey10?utm_source=psi&utm_medium=redirect&form_factor=mobile
Hello guys,
I’m using Autoptimize on my website https://visitsithonia.com/ and I like it very much! Autoptimize worked great but as soon as the number of site page visits slightly increases (or if I try to edit a post), it hits some sharing memory limits and completely crushes the website for 15 minutes. I noticed in cPAnel that these two parameters are going in red:
And then the site is about 15 minutes offline. throwing errors like 503, unable to connect with the database, etc.And then cPanel somehow ‘refreshes’ all, and the site is working until I start to edit plugins, or test, or send some small traffic, and then again everything is crushing. This is repeated many times during the day making the site unusable.
Do you have any solution to resolve this?
Thank you.
]]>i have web https://flexirent.hr, and WP fastes cashe and Autopimize, home page is ok. But same pages when i look in Clarity video look is broken in mobile devices. Everi hwo i nove when look web is ok, just in Clarity looks broken desing. Can you help me!
]]>Hello guys,
i love your plugin, and i’m using it all the time. On this website when is activeted, all wp galeries doesnt whows well: no more images in columns, all images are in full size..
https://visitsithonia.com/lifestyle/resorts-in-sithonia/
i tired to exculde “.wp-block-gallery” but that does’t helped :/
I also noticed that all photos all align to the left, and i can’t center them no metter what i do…
Can you help me with this?
Thank you.
Dejan
]]>Can I exclude all a plugins JS scripts by simply typing “/plugin-name/” without quotes in the exclude scripts section?
]]>Autoptimize blocks Google crawler. It took me about an hour with my hosting support to figure out what was going on. I have no Google scripts loaded on my site at all. But for some reason, Google crawler was returning a Server error 5xx and the issue only stopped after we deactivated autoptomize.
Here are my full autoptimize settings: https://imgur.com/a/XM6tUaL I also use asset cleanup together with autopimize (making sure not to enable same settings in both) and I use Hummingbird purely for the browser caching control and nothing else.
Here is a PHP error log we found:
PHP Fatal error: Uncaught JSMin_UnterminatedStringException: JSMin: Unterminated String at byte 1067: “M32,1.8C15.3,1.8,1.8,15.3,1.8,32S15.3,62.3,32,62.3S62.3,48.7,62.3,32S48.7,1.8,32,1.8z M32,57.8 in /var/web/site/public_html/wp-content/plugins/autoptimize/classes/external/php/jsmin.php:212
PHP Stacktrace:
We are using the Easy Affiliate Links plugin on our site, and when we run the JS optimization with Autoptimize, it causes a syntax error in the easy-affiliate-links/dist/public.js
file.
The problematic code is as follows:
// Search for a '' parameter in the query string
var reParamSearch = /([?&])=[^&]*/
if (reParamSearch.test(this.url)) {
After optimization, it appears as follows, causing the if
statement to be recognized as a regular expression flag:
Uncaught SyntaxError: Invalid regular expression flags
if(this.method==='GET'||this.method==='HEAD'){if(options.cache==='no-store'||options.cache==='no-cache'){var reParamSearch=/([?&])=[^&]*/if(reParamSearch.test(this.url)){this.url=this.url.replace(reParamSearch,'$1='+new Date().getTime())}else{var reQueryString=/?/this.url+=(reQueryString.test(this.url)?'&':'?')+'_='+new Date().getTime()}}}}
It is unclear whether the issue lies with the JavaScript in Easy Affiliate Links or with the optimization process in Autoptimize. Is it possible for Autoptimize to address this issue?
]]>Hi, I just finished this site, and I have two problems that maybe this plugin can solve.
Thanks for your support!!!!
]]>My own scripts on my site are loaded after external scripts. I load all of them using the wp_enqueue_script
function and specify the dependencies. However, when I enable script aggregation in Autoptimize, my own scripts are loaded before the external ones. How can I preserve the original order? Any solution would be fine, including writing a custom plugin to address the issue.
The WP plugin easy-fancybox was recently updated to ver. 2.3.4 and suddenly breaks the Autoptimize js minifcation. I have enabled the option to use try / catch block, but still breaks with a bracket mismatch. The identified source, I had to exclude from js minifcation, was DOM purify js lib (tested with both version: bundled ver. 3.1.5 in easy fancybox and latest 3.1.7). https://github.com/cure53/DOMPurify/releases/tag/3.1.7
For the reference: link to my original support question from easy fancybox forum: https://www.ads-software.com/support/topic/ver-2-3-4-breaks-js-minification-using-plugin-autoptimize
Many thanks in advance for having a look into this.
Matthieu
]]>Hi, we embed this page in our ERP software. I have an issue in displaying the images. Without autoptimize the images are centered and big. But with autoptimize the images are small and left aligned as you can see on the screenshots. We only do have a small viewpoint in our system. Can you tell me, how I can display the images big with autotpimize? Thanks
image with autoptimize: https://ibb.co/GdHkHSt
Image without: https://ibb.co/zszvZH4
]]>When i carried out a site audit with semrush i get ’24 Issues with broken internal JavaScript and CSS files’.
I can’t workout how to clear these on the autoptimize plugin. Can you help ‘in simple terms’ . I know others have this issue but i can’t understand what they are on about in the forum threads. (Sorry). Can anybody help?
]]>After unchecking the “Aggregate JS-files?” and “Aggregate CSS-files?” options in Autoptimize, created aggregate files like “autoptimize_single_ec27e253fae1b7b891fb5a40e687768.js” were removed. However, the website still tries to load these files, resulting in a “410 Gone” error, which shows as broken javascript file in the webpage. How can I remove this file and fix the issue?
]]>When I enable the ‘Also aggregate inline CSS?’ option, the Autoptimize plugin adds new CSS that doesn’t exist in any of my files or pages. In one case, it adds a border-bottom to most links even when I have explicitly set those links to border-bottom:none. In another case, it removes the margin-bottom from every Elementor element by creating a new line of code that includes “.elementor-widget:not(:last-child) {margin-block-end: 0px;}”, which is overwriting the original line of CSS, “.elementor-widget:not(:last-child) {margin-bottom: 20px;}”. This is changing how my entire website looks, even though the Autoptimize CSS is not more specific than the original CSS. Why is the plugin creating new CSS that overwrites my theme or my custom CSS? In both of the examples, the Autoptimize plugin has copied the same exact classes/IDs from the original CSS but changes or adds new styles that ends up overwriting the real CSS. I would like to keep this option enabled because it seems to significantly reduce the number of lines of code on the site, but I shouldn’t have to audit every element on the site to check to see if the plugin is changing it’s CSS. Please advise.
]]>The developers should have someone spell check, it helps tremendously when creating a quality product. What is in square brackets is missing or misspelled.
Under tab Autoptimize Settings > JS, CSS & HTML…
Remove Unused JavaScript? "…but does not know what is used and what [is] not."
Generate data: URIs for images? "…include small [background-images] in the CSS…" The words background images should have no hyphen.
Inline all CSS? Additionally[,] it might push meta-tags down to a position where e.g. Facebook and Whatsapp will not find them any[ ]more… First, there is a missing comma and second, no hyphen in anymore.
Cached styles and scripts "XX files, [totalling] XX MB…" Proper spelling is totaling.
Enable 404 fallbacks? "In some cases[,] this will require extra web-server" Missing comma.
Also optimize for logged in editors/ administrators? "By default Autoptimize is also active for logged[-]on editors" Missing hyphen. Also under the same subject, "…in e.g. to use a [pagebuilder]." These are two words, page builder.
Enable configuration per post/ page? "Add a "[metabox]" to the post/ page…" Meta box is two separate words.
Disable extra [compatibilty] logic? Compatibility is spelled wrong. Also copy that follows heading, "Autoptimize applies extra "[compatibiity] logic" to prevent…" Again, compatibility is spelled wrong.
This is what I easily spotted under one tab! There are other grammar errors under the first tab, but what is outlined is the most obvious.
]]>
Hi, apologies if this has been asked before.
Is there a hook for raising the “Autoptimize cache size warning” email threshold from 500MB to 1024MB or something bigger? We have a couple of very big sites where there is no technical problem but after a couple of weeks, triggers a daily warning.
Thanks in advance,
Shane
Hello Frank,
i was wondering to ask you if its possibile including a new feature in free version:
in WP Multisite clearing cache of all networks from the admin.
this can help a lot website administrators clearing the cache before going to create a backup of the webiste due to the size of the cache folder.
Thanks a lot
]]>Hi champions
I am a free user.
In you free app, there is a css optimise, js optimise, image compression optimise, and more.
In your pro you have this:
Autoptimize Pro
Autoptimize Pro is a premium Power-Up, adding image optimization, CDN, page caching, automatic critical CSS rules and extra “booster” options, all in one handy subscription to make your site even faster!!
Why do you have image optimazation again? Also, css, and js.
THaks
]]>Hi,
I just need a clarification, when adding a CDN configuration in the CDN for Autoptimized files, I noticed in the past that whenever there is expired cache inconsistencies between page caching plugins (WP Super Cache), Cloudflare and Autoptimize I would get 404 errors. I currently have this disabled, using WP Super Cache to handle CDN related configs. However, I want to use the CDN as well for Autoptimize files but need to find a way to resolve the issue mentioned above. When using the CDN, which is also on the same server as the main website, the 404 is handled by Nginx CDN configs and not processed by the PHP location block for the main server. I presume that due to this, the hook for plugin isn’t detecting the issue.
Can you please advise on the best options? Thanks in advance…
Hey
Please see this comment:
https://github.com/WordPress/gutenberg/issues/64889#issuecomment-2325809282
Regarding: Not able to click below a block to add another block. I noticed the difference when Autoptimize is active vs disabled.
]]>Hi,
This is what happens at the beginning: https://drive.google.com/file/d/1Qu1Hx1M8H_-4SRsFIpPxH62BtoL2FEwP/view?usp=sharing
Disabling CSS optimization in AO fixes it, so it seems to be related to AO, let me know if you need me to re-enable the CSS optimization for debugging
Kind Regards,
Tomás
]]>