• Resolved nguyendam

    (@nguyendam)


    Hi author when i check Save aggregated script/css as static files option. CSS file so big and not compressed, my hosting support gzip, test same source on same hosting pagespeed not warning compress css.
    I dont know what happen with my site.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter nguyendam

    (@nguyendam)

    one site https and one http, https is not compressed

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    if the files are not compressed, then the webserver ignores the .htaccess that AO writes to wp-content/cache/autoptimize/.htaccess. fix server config OR disable “save as static files” to fix/ workaround.

    hope this clarifies,
    frank

    Thread Starter nguyendam

    (@nguyendam)

    fix server config, show my how with cpanel 64.0.33

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    That I don’t know @nguyendam, I don’t use cpanel myself, maybe ask your hoster? ??

    Thread Starter nguyendam

    (@nguyendam)

    Thank you, you can show me what is different when enable “save as static files” or not

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, if “save as static files” is active, the CSS and JS files are saved to the cache and are served entirely through your webserver. It is your webserver that is responsible to compress the files while transported.

    if “save as static files” is not active, the CSS and JS files are saved to cache as well, but are served by PHP-code, which does the compression on-the-fly.

    hope this clarifies,
    frank

    Thread Starter nguyendam

    (@nguyendam)

    So “save as static files” is better if webserver compress the files?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    yes, that is the better solution.

    Thread Starter nguyendam

    (@nguyendam)

    Thank you so much! I will call to hosting service to solve.

    Thread Starter nguyendam

    (@nguyendam)

    I just checked, root cause is not webserver.
    I test on https://gtmetrix.com/reports/nhathoconggiao.com/IW3sbB6k
    One CSS file was not compress and one file was compressed.
    Root cause is Visual Compressor plugin.
    Check on Page not build with VC is normal.
    Can you send me some advice to solve it?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I have absolutely no idea there @nguyendam, don’t know Visual Composer at all. Maybe ask in the support forums of that plugin?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Save aggregated script/css as static files option’ is closed to new replies.