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

    (@optimizingmatters)

    Compression is not the same as minification; compression is zipping the files while in transit and is typically done (configured) at webserver level. You seem to be an Apache, you can read about how you can configure it to compress at e.g. https://bobcares.com/blog/enable-gzip-compression-wordpress-htaccess/

    Alternatively, for resources under /cache/autoptimize you *could* disable the “serve as static files” option, in which case the files will be served through PHP which will take care of compression, but that is a merely a workaround and not the preferred solution.

    performance wise, your main issues seem to be:
    * the lack of HTTP/2 at server level (talk to your host, they should also be able to fix the compression at their end while they’re at it)
    * the use of revolution slider (the JS of which is rather heavy, esp. on mobile)
    * the use of hubspot (JS-heavy too)

    hope this helps,
    frank

    Thread Starter angela2024bold

    (@angela2024bold)

    Thanks for your response Frank! I’ve reached out my server host and made the following change:

    • enabled zlib.output_compression on server
    • enabled HTTP/2 protocols
    • confirmed the web server is Apache

    I also contacted the support team of Hubspot. Unfortunately there isn’t an option to edit or shorten the scripts directly and they recommended me to optimize on other areas.

    After done above changes, I rerun the site audit on SEMrush and it getting worse: 90 more resources were reported as uncompressed. Do you have any idea how to solve this issue? Also i not sure about how to disable the resources under /cache/autoptimize, could you tell me how to do it step-by-step maybe? thx!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    based on what I see now, the server is Nginx and the CSS/ JS is not compressed, so you will need additional steps by your host to make sure nginx compresses those files.

    re. “you *could* disable the serve as static files option” that one is on Autoptimize’s main settings page, near the bottom under “misc options”. but do take into account it would be better for your host to ensure the files are compressed instead ??

    Thread Starter angela2024bold

    (@angela2024bold)

    i received this explanation from the server host so they don’t recommend to compress the files:
    “The files that can be compressed are the once which are not related to thew website, maybe like backup files. The files that must not be compressed are the website related files which may contain the themes, index files, contents .. etc, if these files are compressed then it might affect the functionality of the website.”

    I want to confirm is this response from my server host making sense to you? or i need to do extra steps to fix the issue.

    Regarding the setting of Autoptimize, I’ve done the change as you recommended but don’t seems like improve the performance based on the PageSpeed insights score.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, that answer does not make sense. having the webserver compress JS/ CSS images on the fly works fine, the server and browser negotiate if and which can compression be done, this is the standard way of doing things really ..

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.