Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all 14038 articles
Browse latest View live

Permissions issue with GoDaddy?

$
0
0

Replies: 1

Hey there,

I want to start by saying I doubt this is the fault of Autoptimize, but wanted to share what I’m currently trying to figure out.

I have various clients using Autoptimize, and I’ve been going through updating their plugins accordingly. One client, hosted on GoDaddy, had their site break after updating WordPress and Autoptimize. My other clients hosted elsewhere had no issues after updates.

It turns out, for some reason, the Autoptimize CSS and JS files located in the /cache/autoptimize folders are being set to 640 permissions upon creation. My other clients, who are working fine, have their files set to 644 permissions upon creation. In addition, the .htaccess file in /cache/autoptimize is also being set to 640 upon creation, instead of 644.

And so the files cannot be read correctly, and the site is broken. Disabling the Autoptimize plugin fixes things of course, but I’d like to figure out how to have the plugin working correctly.


Not Converting Rev Slider BG Images

$
0
0

Replies: 1

I have the plugin installed and set to “Automatically serve “next-gen” WebP image format to any browser that supports it (requires lazy load to be active).” It however does not serve WebP images for the background images of Revolution Slider. Is there another step I need to take? Did I miss something?

Webp not served when Referer header is missing

$
0
0

Replies: 0

It looks like although my requests specifies Accept: images/webp,*/* JPEG is served for a .jpg image instead if my requests does not contain a Referer header. Is this intended behavior?

Short Pixel credit decreases rapidly

$
0
0

Replies: 1

Hi Frank,
Six days ago I have purchased 45k credit in shortpixel but it decreases rapidly and now it becomes 4573 only.
Date API calls Free calls*
2020-09-17 1,207 378
2020-09-16 3,853 1,187
2020-09-15 4,768 1,529
2020-09-14 4,908 1,557
2020-09-13 4,743 1,457
2020-09-12 17,953 6,617
2020-09-11 5,106 1,029
2020-09-10 5,210 1,108
Why it is happening?
Thanks

Renaming some but not all optimise files

$
0
0

Replies: 3

I’m trying to delay the loading of some of the optimised js files on a site. I can target these easily enough by going off the “autoptimize_” prefix or setting my own prefix via the filter.

The issue I’ve come across however is that for any files I need to exclude from being optimised they get tagged with this prefix “autoptimize_single_” which means they still get caught in my delay script and break.

Is there a way to just rename the prefix of the main optimised files or not have the plugin mask the names of the js files I’ve excluded to avoid the overlap I’m running into?

Make fewer HTTP requests

$
0
0

Replies: 0

Hi
I need support from you
I have installed their Autoptimiza plugin and WP Fasted Cache

Test GtMEtrix IMAGE

Settings Autoptimize
IMAGE1 IMAGE2 IMAGE3 IMAGE4

Settings Wp FAsted Cache
IMAGE

how ùedo reduce requests?
If I check Unify JS files? good results are achieved but the entire web pages are disassembled

URL: estduiseivissencs.cat

Thanks

Uncaught TypeError: $ is not a function

$
0
0

Replies: 8

Everytime I activate autoptimize I get this in my console

Uncaught TypeError: $ is not a function

jQuery(document).on(‘click’, ‘input[type=”checkbox”][name*=”app_candidate_sel”]’, function () {
var checked_box_count = jQuery(‘input[type=”checkbox”][name*=”app_candidate_sel”]:checked’).length;
if (checked_box_count > 0) {
jQuery(“#jobsearch-export-pdf”).show();
} else {
jQuery(“#jobsearch-export-pdf”).hide();
}
});</script> <script type=”text/javascript”>$(document).ready(function () {
‘use strict’;

What Contact Form Plugins Are Compatible With Autoptimize ?

$
0
0

Replies: 0

Hi,
I have Contact Form 7 installed and after installing Autoptimize stopped working.
I can see in Google that many people experience the same problem.

So after spending some time in trying to fix the problem (see bellow) I am thinking of changing the contact form plugin.

And here is my question, what contact form plugin is compatible and confirmed working together with Autoptimize plugin? Can you suggest some, I just don’t want to test again 100 plugins until I find the one compatible with Autoptimize, so please advice..

I couldn’t fix it by excluding its js code … scripts.js
I also tried with snipped method as suggested on other post, but also didn’t fix the problem:
// Disable autoptimize on pages with the word 7753 in the URL

add_filter(‘autoptimize_filter_noptimize’,’my_ao_noptimize’,10,0);

function my_ao_noptimize() {

if (strpos($_SERVER[‘REQUEST_URI’],7753)!==false) {

return true;

} else {

return false;

}

}


Error: ClipboardJS is not defined

$
0
0

Replies: 1

Hello.

I recently reported an error in Super Socializer plugin, you can see it here.

The error reported was already fixed however, a new one came up which is related with Autoptimize:

ClipboardJS is imported by Super Socializer plugin but the plugin developer reported that this is Autoptimize breaking Super Socializer JS.

Thanks.

I use two domain names in one WordPress, how to use cdn correctly?

$
0
0

Replies: 0

I use two domain names in one WordPress, how to use cdn correctly?

One of the domain names is used to display the desktop website, and the set cdn link is effective.

Another subdomain is used to access the mobile theme, but the set cdn link is a link to the previous domain name.

details as follows:

For example, the desktop website is: http://www.a.com
Its cdn is set to cdn.a.com

Another domain name is a mobile theme: m.a.com
But its cdn has become: http://www.a.com

How do I make the latter also use the same cdn.a.com

Aggregate JS-files option is conflicting with other plugins

$
0
0

Replies: 0

I enabled the Aggregate JS-files option to fix the “Defer parsing of JS”. Site speed increased after that but it conflicts with other plugins and removes their function. How can I fix this?

Mobile CSS Code

$
0
0

Replies: 1

This question is similar to one posted a few months back. See:
https://wordpress.org/support/topic/autoptimize-breaks-my-mobile-theme/

In short… when I aggregate my CSS code the mobile theme breaks. If I check optimize and doin’t check aggregate then it works fine – but if I check both the media queries for mobile don’t properly load.

Suggestions? Is this due to some media query somewhere not being properly closed or something? Any ideas or should I just leave aggregate unchecked.

Thx.

Enable 404 fallbacks option – code issue

$
0
0

Replies: 5

On 3 separate sites on 3 different host servers the Enable 404 fallbacks option code below is not creating the ErrorDocument 404 line of htaccess code in the Autoptimize cache folder htaccess file.

            if ( self::do_fallback() === true ) {
                $content .= "\nErrorDocument 404 " . trailingslashit( parse_url( content_url(), PHP_URL_PATH ) ) . 'autoptimize_404_handler.php';
            }
            @file_put_contents( $htaccess, $content ); // @codingStandardsIgnoreLine

WooCommerce variable products broken with Autoptimize

$
0
0

Replies: 1

After a recent update (not sure if WooCommerce or Autoptimize) all my WooCommerce variable product pages were broken with product images, text and prices missing. The dropdown boxes were still visible. After a process of elimination we found that Autoptimize’s JavaScript Options optimization was causing the conflict. We are using Enfold theme.

I’m not a developer, but would like some help to find the script on these WooCommerce variable product pages that could be excluded so I can turn the module back on in Autoptimize. Thank you!

AMP page reduced ranking factor

$
0
0

Replies: 2

Hi,
I have enabled Redirect Mobile visitor to AMP for one of my multisite https://www.zotezo.com/us pages for several pages
1) https://www.zotezo.com/us/top/best-white-tea/
2) https://www.zotezo.com/us/top/best-bcaa/
3) https://www.zotezo.com/us/top/best-nose-hair-trimmer/
But AMP url showing low pagespeed rank on google pagespeed insights and lighthouse score was reduced after making it https://www.zotezo.com/us/top/best-nose-hair-trimmer/?amp=1
Previously it was showing 90+ page rank in Google Pagespeed insights in mobile now it is reduced to below 80 also LCP and FCP rank increased much and showing this error-
1)Remove unused JavaScript
2)Remove duplicate modules in JavaScript bundles
3)Reduce JavaScript execution time 1.3 s
How to solve the issue?
Thanks


High LCP and CLS score in medicine page (post)

My Page Breaks When I Inline CSS

$
0
0

Replies: 2

I hope this is a support ticket system for this plugin. I am using WP Rocket and Autoptimize Plugin with CriticalCSS. Whenever I activated the Inline CSS function so that I can get to my CriticalCSS plugin, my site breaks. Just a white screen. Backend works fine. Am I doing something wrong?

woocommerce varitioan not showing.

$
0
0

Replies: 7

product variaotion not working. it was working fine. i dont know what happnes today prodcut variation is not showing for any product. i deactiveted autooptimize plugin. then it showing all variations. please help me. currently i deactiveted autooptimize. but i need that plugin. please help me wih this

unused javascript

$
0
0

Replies: 1

hello
i’m getting unused javascript error on this file “autoptimize_02fd6fb5d6711873cd54ca711ad6d989.js” on pagespeed insight.
i wanted to know what is this javascript about and weather its actualy been loaded for nothing, and if thats the case how can i prevent it?
thanks in advance

PHP Warning

$
0
0

Replies: 1

Hi!

First, thank you for creating Autoptimizer.

I have noticed the following error that occurred on my website:

PHP Warning: file_put_contents(): Only 139264 of 668262 bytes written, possibly out of free disk space in /home/biljnais/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php on line 116

Do you perhaps have a solution for this?

Thank you in advance for your reply,
Marina

Viewing all 14038 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>