Desde hace tiempo me sale este mensaje en mi page speed de google, no consigo averiguar cual es el motivo porque uso wp rocket para minimizar los CSS y este no me lo coge, alguna sugerencia, no sé si tengo que quitar el plugin o qué es mejor, muchas gracias
<font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>Por supuesto, así lo haré! Muchas gracias por su pronta respuesta. abrazos desde españa!!</font></font> Qué tengáis un buen día también por allí!
This reply was modified 1 year, 8 months ago by Revirlution.
The problem seems like WP-Rocket plugin is delaying the loading of the app.js file. This is the file that makes the chat widget display. But click to chat plugins CSS code and chat widget loads early and hidden until app.js loads.
Google Page Spead considers widget related CSS code is unused as it is hidden until app.js file is loaded.
Is it possible to test by loading the app.js file early by adding this two lines at wp-rocket plugin settings at ‘Excluded JavaScript Files’ input filed at “Delay JavaScript execution” section.
WP-Rocket plugin combined css code as per the settings. and the combined CSS code might have some unused CSS.
The combined CSS code block starts with <style id="wpr-usedcss">.ht_ctc_chat_greetings_box :not(ul). that why it seems like the issue is with click to chat plugin. The issue might not be with the click to chat plugin alone.
This code .ht_ctc_chat_greetings_box.. is used css. it really needed.
It might be cache issue, please clear the cache and test. from wp-rocket. clear used css, clear preload cache. If available please clear the server side cache, CDN cache
muchas gracias, lo haré, pero además desactivando el plugin me bajó el rendimiento de la página, cosa curiosa, por lo que he decidido activarlo y seguir con él, es que realmente me interesa que mis clientes tengan acceso a whastapp…asi que mientras uds, intentan mejorar este asunto, puede que mejore todo in a while….gracias
Thanks for the message. The issue is not related to click to chat plugin, its just google page spead showing a block of code that have unused CSS code. (where other plugins, theme CSS code combined.)
That block of code starts with click to chat plugin CSS code. thats why it seems like the issue is from click to chat, its not from click to chat plugin.
The code block starts with .ht_ctc_chat_greetings_box :not(ul) … Its combined of multiple CSS files. That’s why part of that code size is approx. 29kb. Where click to chat CSS code is less than 2kb. if gzip approx. 680bytes only. (early message i added 680kb instead of 680bytes)