• Resolved neo4evr

    (@neo4evr)


    Hello,
    I am running a website on Milesweb server. The server has zlib compression enabled by default.
    The problem is – my site loads a little slow. But when I enable Autoptimize to combine and minify the CSS / JS, or even just the CSS, then the site loads a LOT slower.
    This doesn’t just happen with Autoptimize, but with all minifying or CSS/JS combining plugins.

    When I deactivate the plugin then the site loads normally.

    What might be the issue?

    Many thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    What happens when you only do JS optimization, is the the impact significantly less? And re. CSS optimization; try unticking the “minify excluded CSS/ JS”-option and try excluding some of the CSS-files from optimization?

    Also Autoptimize does not do page caching and the use of a page caching plugin comes highly recommended, so you have one installed?

    frank

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    any news on this @neo4evr ? ??

    Thread Starter neo4evr

    (@neo4evr)

    Yes Hi!!
    So sorry I could not reply back. I was out of town ??

    I had a check and when I disabled the zlib_compression from my Webhosting CPanel, the site actually started to load much faster! Faster than original without the plugin installed.

    So I guess the plugin is working now as it should ?? But I am not sure why this is happening? Why would enabling zlib_compression slow down the website with the plugin activated… Is this because of double work on the server?

    Many thanks!!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    That’s bizarre ..

    zlib is used to compress, while AO does minification (except when not serving static files), so there’s no overlap between AO & zlib no.

    What’s more, when using static files (and on Apache), file compression is handled by Apache (either by mod_deflate or mod_gzip).

    In the context of PHP zlib_compression is used to automatically compress HTML output, but that’s not something AO does (but most page caches do).

    So summary:
    * no idea what would cause zlib to slow your site down
    * but happy your site is fast now ??

    frank

    Thread Starter neo4evr

    (@neo4evr)

    I don’t have any clue ??
    Is there any way you could check my hosting and website and help me in fixing the issue?

    It will be great if we could maximize the loading speed of the website, with compression enabled and mod_deflate on (which is also currently off from cpanel)

    Thanks!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    but is there any sign that your site is not maximized now?

    Thread Starter neo4evr

    (@neo4evr)

    No apparently it seems to work fast. I was wondering if it would work faster with mod_deflate and zlib_compression enabled.

    If not then fine… I am totally okay with how it is working now ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, if you can share the URL I can check if anything needs compression?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Enabling Autoptimize actually SLOWS DOWN the website.. Help?’ is closed to new replies.