Inline All CSS Feature not working after 4.1.0 update
-
It looks as if the inline CSS feature is no longer working after the most recent update to the plugin. I have enabled both “Inline all CSS” and “Minify all inlined CSS” options in the plugin settings. However, when I inspect the frontend of the site, the full stylesheet files are being loaded, and no inlined CSS is being generated.
-
@mgilbertson strange, we tested it before going live and right now I’m also seeing on one of our websites that it’s working. Any chance you could check again if the options are enabled, and maybe clear your browser & server caches?
I have double/triple checked my settings and cleared my local and server side cache. Here’s a link to the site I’m working on right now if you would like to take a look. The stylesheets that should be getting inlined are /style.css, /assets/css/bootstrap.css, and /assets/css/base.css.
https://bettyessenstg2.wpengine.com/And here’s my plugin settings export
{“module_caching”:””,”caching_expiry”:10,”caching_separate_mobile”:””,”caching_warmup_after_clear”:””,”caching_exclude_urls”:””,”caching_include_query_strings”:”utm_source”,”cdn_url”:””,”cdn_includes”:””,”cdn_excludes”:””,”cloudflare_enable”:””,”cloudflare_api”:””,”cloudflare_email”:””,”cloudflare_zone”:””,”cf_rocket_loader_enable”:””,”cf_dev_mode_enable”:””,”cf_css_minify_enable”:””,”cf_html_minify_enable”:””,”cf_js_minify_enable”:””,”cf_browser_cache_ttl”:”0″,”sucuri_enable”:””,”sucuri_api”:””,”sucuri_secret”:””,”module_css”:”1″,”enable_criticalcss”:””,”criticalcss_default”:””,”criticalcss_codes”:{“is_front_page”:””,”is_home”:””,”is_single”:””,”is_page”:””,”is_category”:””,”is_tag”:””,”is_archive”:””},”remove_criticalcss”:”1″,”css_inline”:”1″,”css_minify”:”1″,”css_exclude”:””,”module_assets”:”1″,”minify_html”:”1″,”optimize_gfonts”:”1″,”lazyload”:””,”lazyload_exclude”:””,”js_optimize”:”defer”,”js_exclude”:”\/wp-includes\/js\/jquery\/jquery.min.js”,”preboost”:{“preboost_enable”:””,”preboost_include”:””},”module_special”:”1″,”localize_tracking_scripts”:”1″,”custom_codes”:””,”jetpack_dequeue_devicepx”:””,”woocommerce_disable_cart_fragments”:””,”woocommerce_optimize_nonwc_pages”:””,”woocommerce_disable_password_meter”:””,”pagespeed_tricker”:””,”module_tweaks”:”1″,”instant_page”:”1″,”trim_query_strings”:”1″,”disable_self_pingbacks”:”1″,”dequeue_emoji_scripts”:”1″,”disable_post_embeds”:”1″,”dequeue_dashicons”:”1″,”dequeue_block_library”:”1″,”heartbeat_settings”:”optimized”,”post_revisions”:5,”autosave_interval”:1,”declutter_head”:{“declutter_shortlinks”:”1″,”declutter_adjacent_posts_links”:”1″,”declutter_wlw”:”1″,”declutter_rsd”:””,”declutter_rest_api_links”:””,”declutter_feed_links”:””,”declutter_wp_version”:”1″},”backup”:””,”enable_external_notices”:”1″}@mgilbertson looks like something is preventing Speed Booster Pack from working, because I don’t see a “Optimized by Speed Booster Pack v4.1.0” line at the end of your page source. Can you also enable Minify HTML so we can see if it minifies or not?
Minify HTML was already enabled.
@mgilbertson then something is definitely preventing SBP from working–most probably a plugin. Can you go to Tools > Site Health > Info tab (/wp-admin/site-health.php?tab=debug), click “Copy site info to clipboard” and paste it here?
### wp-core ### version: 5.6 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 0 default_comment_status: open environment_type: production user_count: 3 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /nas/content/live/bettyessenstg2 wordpress_size: 137.71 MB (144401666 bytes) uploads_path: /nas/content/live/bettyessenstg2/wp-content/uploads uploads_size: 932.07 KB (954440 bytes) themes_path: /nas/content/live/bettyessenstg2/wp-content/themes themes_size: 10.30 MB (10802874 bytes) plugins_path: /nas/content/live/bettyessenstg2/wp-content/plugins plugins_size: 42.50 MB (44567552 bytes) database_size: 2.53 MB (2654208 bytes) total_size: 193.96 MB (203380740 bytes) ### wp-dropins (2) ### advanced-cache.php: true object-cache.php: true ### wp-active-theme ### name: Betty Essentials (betty-essentials) version: undefined author: Anonymous author_website: (undefined) parent_theme: none theme_features: core-block-patterns, post-thumbnails, menus, widgets, editor-style theme_path: /nas/content/live/bettyessenstg2/wp-content/themes/betty-essentials auto_update: Disabled ### wp-themes-inactive (1) ### Twenty Twenty-One: version: 1.1, author: the WordPress team, Auto-updates disabled ### wp-mu-plugins (4) ### Force Strong Passwords - WPE Edition: version: 1.6.4, author: Jason Cosper WP Engine Seamless Login Plugin: version: 1.5.5, author: WP Engine WP Engine Security Auditor: version: 1.0.9, author: wpengine WP Engine System: version: 4.1.0, author: WP Engine ### wp-plugins-active (14) ### ACF - Repeater Field Tabs: version: 1.7.2, author: Mitchell Gilbertson, Auto-updates disabled Advanced Custom Fields: Gravityforms Add-on: version: 1.2.7, author: Danny van Holten, Auto-updates disabled Advanced Custom Fields PRO: version: 5.9.4, author: Elliot Condon, Auto-updates disabled Akismet Anti-Spam: version: 4.1.8, author: Automattic, Auto-updates disabled All-in-One WP Migration: version: 7.33, author: ServMask, Auto-updates disabled All-in-One WP Migration Unlimited Extension: version: 2.38, author: ServMask, Auto-updates disabled All in One SEO: version: 4.0.12, author: All in One SEO Team, Auto-updates disabled Classic Editor: version: 1.6, author: WordPress Contributors, Auto-updates disabled Disable Comments: version: 2.0.2, author: WPDeveloper, Auto-updates disabled Gravity Forms: version: 2.4.22, author: Gravity Forms, Auto-updates enabled Post Types Order: version: 1.9.5.4, author: Nsp Code, Auto-updates disabled Simple History: version: 2.38.0, author: P?r Thernstr?m, Auto-updates disabled Speed Booster Pack: version: 4.1.0, author: Optimocha, Auto-updates disabled User Role Editor: version: 4.58.2, author: Vladimir Garagulya, Auto-updates disabled ### wp-plugins-inactive (1) ### Dev Ops Tools: version: 2.3, author: James Drott, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1687 imagemagick_version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 https://www.imagemagick.org file_uploads: File uploads is turned off post_max_size: 100M upload_max_filesize: 50M max_effective_size: 50 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 38 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 6144 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 1 gd_version: 2.2.5 ghostscript_version: unknown ### wp-server ### server_architecture: Linux 4.15.0-1040-gcp x86_64 httpd_software: Apache php_version: 7.4.13 64bit php_sapi: apache2handler max_input_variables: 10000 time_limit: 3600 memory_limit: 512M max_input_time: 3600 upload_max_filesize: 50M php_post_max_size: 100M curl_version: 7.58.0 OpenSSL/1.1.1 suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: false ### wp-database ### extension: mysqli server_version: 5.7.31-34-log client_version: mysqlnd 7.4.13 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /nas/content/live/bettyessenstg2/wp-content WP_PLUGIN_DIR: /nas/content/live/bettyessenstg2/wp-content/plugins WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: utf8_unicode_ci ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### aioseo (1) ### noindexed: Search Page
@mgilbertson interesting, no plugin has the potential to conflict with SBP.
I might need to log in and see this for myself. Can you send us an email over our contact form so I can send you my email address?
Sure thing. There’s gotta be some conflict with either the plugin or theme. I loaded up my wordpress blueprint on my local environment, and installed the speed booster plugin. With no other active plugins and the default 2021 theme, the minify HTML option is working and I do see the “Optimized by Speed Booster” comment at the bottom of the page.
So I took that same site, deactivated all plugins, switched to the 2021 theme, reset the speed booster plugin settings, and then enabled just inline CSS and minify HTML. Even after doing this, it looks like the inline CSS option is still not working, but the minify HTML option is working and I am seeing the “Optimized by Speed Booster” comment at the bottom of the HTML. When I enable the “All in One SEO” plugin, however, minify HTML no longer is working and the comment disappears from the bottom of the html
@mgilbertson got your email, thanks. I remember that another user mentioned a conflict between SBP and AiOSEO so I’ll be sure to look more into that.
@mgilbertson since this is related to a conflict between the two plugins, I’m marking this topic as “resolved” to prevent giving the wrong idea to others :).
Sounds good. Thanks for all the help.
See my reply on the v2 thread for details, but adding this to my theme’s functions file fixed the problem.
add_theme_support( 'title-tag' );
Thanks @mgilbertson! ??
- The topic ‘Inline All CSS Feature not working after 4.1.0 update’ is closed to new replies.