• Resolved mrpierce

    (@mrpierce)


    Hello,

    Thank you for the wonderful plugin! It’s extremely useful.

    Up until recently, I had the Optimize HTML Code option set, and everything was working great. However, I just learned that on a very specific page, modified for specific users, this feature caused the page to render completely blank (after taking a full minute to load).

    Here’s the relevant entries from my debug log:

    [26-May-2015 17:05:15 UTC] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /var/www/wp-content/plugins/autoptimize/classes/external/php/minify-html.php on line 130
    [26-May-2015 17:05:15 UTC] PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    Under CSS Options, there’s a setting to Exclude CSS from Autoptimize. I’m wondering if there could be similar option to exclude certain pages from HTML optimization? Then I could just tell it to ignore this one page without sacrificing the benefit of compressing the others.

    Thank you so much for your help!

    https://www.ads-software.com/plugins/autoptimize/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    hi mrpierce;
    you can use the API to exclude a specific page from being optimized, there’s example-code of how that can be done in autoptimize_helper.php_example in the autoptimize directory.

    hope this helps,
    frank

    Thread Starter mrpierce

    (@mrpierce)

    Oh that’s wonderful – thank you so much, Frank!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude specific pages from Optimize HTML Code’ is closed to new replies.