Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Minify

#56

Get minify working correctly. When anabled, we should be able to browse around the site, creating minified css and js files site wide (stored in tmp/minify/, so that when we come back to pages that have been hit already, Exponent used the caches minified files instead of re-creating them. So, as you browse around your site with minification on, it should get faster and faster as your minify cache builds up.

Reported by expNinja · March 24th, 2011 @ 11:56 PM

State: resolved
Milestone: 2.0.1

Activity

  1. expNinja
    expNinja
    • Tag set to minify
    • Milestone changed from Beta 2 to Beta 3
    • Milestone order changed from 7 to 0

    Also need to figure out pointing the cache folder to tmp/minify

    April 29th, 2011 @ 05:43 PM

  2. expNinja
    expNinja
    • Milestone changed from Beta 4 to Stable
    • Assigned user changed from expNinja to rasseljandavid (at gmail)
    • Milestone order changed from 5 to 0

    Rassel has added a couple configs for this in site config. We need to figure out how to test this, and make it a bit more foolproof. Essentially, if minify is on with a maxage set, you should be able to change the CSS in your stylesheets, refresh a page, and NOT see the changes take place. Maybe I don't have my local setup correct...

    We also need to place a check for suhosin, and take it's get.max_value_length value instead of the configured string length.

    July 15th, 2011 @ 05:11 PM

  3. expNinja
    expNinja
    • Title changed from Minify Configurations to Minify

    July 15th, 2011 @ 05:15 PM

  4. expNinja
  5. rasseljandavid (at gmail)
    rasseljandavid (at gmail)

    @expNinja, I checked the minify using min_unit_tests. So far so good.

    See attached screenshots.

    July 18th, 2011 @ 07:16 AM

  6. rasseljandavid (at gmail)
    rasseljandavid (at gmail)

    I already added several configuration regarding the minify, test, and check the cache mechanism of it. The only thing left to be done is this:

    "We also need to place a check for suhosin, and take it's get.max_value_length value instead of the configured string length."

    Any idea for this? like how to check the suhosin from php? I check my .ini file and didn't able to see the get.max_value_length. Am I missing something here?

    I'm using Win platform FWIW with xampp installed with it.

    August 8th, 2011 @ 09:01 AM

  7. expNinja
    expNinja

    Suhosin is used primarily on production servers as a way to secure php, and I don't think there is a way to test that locally. Try testing on a server with Suhosin installed (any of OIC's servers)

    August 8th, 2011 @ 03:58 PM

  8. expNinja
    expNinja
    • Milestone changed from Stable to 2.0.1

    some of this will change once I introduce yui2in3 as well...

    August 31st, 2011 @ 05:32 PM

  9. expNinja
    expNinja

    I've now adjusted minification to work with YUI 2in3, and have also made some adjustment for servers running Suhosin. We'll call this good for now.

    September 22nd, 2011 @ 05:56 PM

  10. expNinja
    expNinja
    • State changed from open to resolved

    September 22nd, 2011 @ 05:56 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.