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

Render-Blocking Font CSS


static file domain does not work with relative path CSS fonts

$
0
0

Replies: 1

I have a domain called https://benbere.org which on the server point to absolute path

/var/www/benbere/

when I setup a static domain using

define(“WP_CONTENT_URL”, “https://static.benbere.org”);

the domain points to absolute path

/var/www/benbere/wp-content

The CSS that gets loaded for the sprite font uses a relative path, when using this on its own domain, works fine. But when using the WP_CONTENT_URL that does not have the wp-content in the url, it screws up.

i.e. without autoptimize

src: url(../fonts/spritefont.woff)

with autoptimize becomes

src: url(//static.benbere.org/wp-content/themes/cv_parent_2018/../fonts/spritefont.woff)

This would be OK if the wp-content part was not in the URL, or if it allowed the relative path to stay.

I’ve tried setting the CDN url to be https://static.benbere.org without success, and also excluding the font CSS file from autoptimize, which works just fine but causes an extra connection….

Could you tell me what filter the code uses generate this url prefix for CSS fonts? I think its going to be best if I adapt that filter from within my theme.

Issue with Social Login caching

$
0
0

Replies: 0

Hi,

I run a site with Social Login and since today I am seeing this message:
“WooCommerce Social Login has detected a problem with your hosting configuration that prevents some customers from linking a social account. For Social Login to function as expected, please follow the guidelines here, as your host must fix your site’s caching rules to exclude wp_woocommerce_session* cookies from caching.”

The message links to this to help resolve:
https://docs.woocommerce.com/document/woocommerce-social-login/#caching-issue

I have checked with the host and they said they don’t apply caching. Autoptimize is the only caching we use but I can’t see a way to add this exception.

How can I add it?

Thank you

Compatible with WP Fastest Cache?

$
0
0

Replies: 0

Hi there,

Before installing and maybe breaking my site I was wondering if this plugin works with WP Fastest Cache and CDN. WP Fastest Cache already makes sure everything is running via CDN, but does this plugin assists WP Fastest Cache or do I have to disable other caching plugins in order to make this one work?

Btw, Does this plugin combine external css & js? Since my site is making a quite few http requests.

Thank you in advance!

Gtmetrix Long time downloading autoptimize

$
0
0

Replies: 1

Even the pagespeed is right, if we analyze the site https://photo-to-text.com we see that takes a long time getting the autoptimize js.

Can anyone help to reduce this time?

Thank you.

Render blocking Google Font & jQuery

$
0
0

Replies: 2

Hi there,

This plugin is seriously awesome! Thank you for this!
It reduced the amount of http requests enormously!

However, I’m experiencing some small issues which I hope they can be fixed.

jQuery is render blocking according to page speed, loading it async gives me jquery not defined errors and a white screen. How can this be fixed? (not sure if Slider Revolution is the bad guy in this)

I’ve enabled the option “Combine and load fonts asynchronously with webfont.js”, however the font I use in Slider Revolution is not taken with it and thus is still render blocking. Is AO not taking the fonts of Slider Revolution? And of course, how can I fix this?

Thank you in advance!

Not combining some of wp-include scripts

Site showing basic HTML before showing actual page

$
0
0

Replies: 0

Hi!

After I installed Autoptimize and hummingbird caching plugin to my site, my site has started showing the basic html page for a micro second before it shows the actual content. The transition is slow enough to notice and it looks like something is wrong with the site.
Now, I’m not sure which plugin or setting is causing this because I installed both the plugins around the same time, so can you please have a look at my site and tell me the cause? When you open the site and navigate to different pages, you would notice a page loading before actual page. Thanks a lot!


Google Maps Problem

$
0
0

Replies: 0

Hi Frank,

I love your plugin and it works amazing, I can’t believe the difference it makes !

But I’m having a problem with my google maps when the plugin is activated, they don’t show up. I have checked the forum and can’t seem to resolve it.

– I have added js/jquery/jquery.js to the exclusion but the problem persists.

I know you suggest having an image of the map instead but it’s a property website and I need the maps to work.

I have checked the console and I’m getting an error:
Jb
message: “initMap is not a function”
name: “InvalidValueError”
Stack: “Error↵ at new Jb (https://maps.googleapis.com/maps/api/js?***********

Error
constructor:ƒ (a)
Db:{constructor: ƒ, name: “Error”, message: “”, toString: ƒ}
vf:ƒ (a,c,f)
arguments:null
caller:null
length:3
name:””

I pretty new to wordpress so I don’t know where to go from here,
Any help would be greatly appreciated.
Thanks,
Paul.

autoptimize broke sites css

$
0
0

Replies: 0

Hi,

i used autoptimize to minify the css and js, but the CSS is not loading properly. sometimes the CSS loads and sometimes it doesn’t. Please reply.

How to exclude entire Foobox plugin?

$
0
0

Replies: 2

When JS is optimized with Autoptimize, no images appear in our galleries with Foobox unless the user is logged in. I tried excluding foobox.js but that didn’t do it, how do I exclude Foobox from Autoptimize? Excluding the entire plugin didn’t help…

This is what I used in the exclusions:

wp-content/plugins/foobox-image-lightbox/

FYI, JS is disabled in Autoptimize right now so everyone can see images.

Server Response Time

$
0
0

Replies: 0

Hi,

It looks like the server response time is increased when I use Autoptimize. I still get better performance than with other plugins, but I would like to improve this as well, if possible.

I did read similar support requests, but I was not able to figure it out.

Thanks a lot,
Mike

Size too big when WP Store Locator is active

$
0
0

Replies: 0

Hi,

I observed that since I added WP Store Locator maps on my site, cache size is getting too big. I needed to dezactivate aggregate inline JS, in order to solve the issue. Do you know any tips of how to exclude something? I tried to exclude some .js, but didn’t worked…. Thank you

AO breaks Calc

$
0
0

Replies: 0

Hi there,

Thanks for this awesome plugin.

It seems AO changes calc from calc(100vh + 300px) to calc(100vh+300px) which makes it broken. Could you please let me know if there’s a workaround for this?

Thanks a lot,

Css and JS not loading via cache/autoptimize folder

$
0
0

Replies: 1

Hi,
i have the same problem as @muneeralam0knx in his thread (https://wordpress.org/support/topic/css-and-js-not-loading-via-cache-autoptimize-folder/).

I use the lasted wp and plugin version and i used autoptimize once before on my blog without any issue.

Autoptimize i with use with cache enabler. Other than @muneeralam0knx i never used a nother minify plugin.

To solve the problem i looked for a solution via ftp. I noticed that the file advanced-cache.php was not created. Then i copied the file over from another project. Unfortunately without success.


FOUC

$
0
0

Replies: 0

I get FOUC on the above site, not sure if it’s an autoptimize thing or not, but I remember fixing it on my site, but cannot remember how . . . logic tells me it may be a setting in here dealing with css/js?? But I have no idea, so I may be wrong.

Thanks!
Jon

Uncaught ReferenceError: require is not defined

$
0
0

Replies: 1

Hi Frank,

I’m getting a strange problem on several pages & posts.

In console, I’m receiving the following error

autoptimize_a207b054e75cf9e02e929b217f891189.php:267 Uncaught ReferenceError: require is not defined
at autoptimize_a207b054e75cf9e02e929b217f891189.php:267
at autoptimize_a207b054e75cf9e02e929b217f891189.php:267

Which appears to have something to do with the table of contents plus plugin (it was because of that plugin not functioning correctly on the pages in question that my attention was drawn to this error).

However, when I deactivate the plugin, I get a similar error referring to something else.

autoptimize_3dc909c462ecc9bf919d5a0b2a9830e6.php:493 Uncaught ReferenceError: require is not defined
at autoptimize_3dc909c462ecc9bf919d5a0b2a9830e6.php:493
at autoptimize_3dc909c462ecc9bf919d5a0b2a9830e6.php:493

Do you have any idea what could be going on?

Thanks in advance for your help!

Few jquery

$
0
0

Replies: 0

I’m using different plugins which include jQuery on page multiply times. Is it possible to optimize this files with your plugin ? I need to make sure that all plugins continue to work properly.

PageSpeed Insights result very low

$
0
0

Replies: 0

please give the solution have added autooptimze plugi but google page insight result are very low what is problem

google speed test error

$
0
0

Replies: 1

Elimina JavaScript e CSS che bloccano la visualizzazione nei contenuti above-the-fold
La tua pagina presenta 1 risorse script e 1 risorse CSS di blocco. Ciò causa un ritardo nella visualizzazione della pagina.
Non è stato possibile visualizzare alcun contenuto above-the-fold della pagina senza dover attendere il caricamento delle seguenti risorse. Prova a rimandare o a caricare in modo asincrono le risorse di blocco oppure incorpora le parti fondamentali di tali risorse direttamente nel codice HTML.
Rimuovi il codice JavaScript che blocca la visualizzazione:
https://www.visurasubito.com/wp-includes/js/jquery/jquery.js
Ottimizza la pubblicazione CSS degli elementi seguenti:
https://www.visurasubito.com/…ize_ec76b9abc862dde27cf0a4a1fe586099.css

Viewing all 14094 articles
Browse latest View live


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