#56 ✓resolved
expNinja

Minify

Reported by expNinja | March 24th, 2011 @ 11:56 PM | in 2.0.1 (closed)

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.

Comments and changes to this ticket

  • expNinja

    expNinja April 29th, 2011 @ 05:43 PM

    • 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

  • expNinja

    expNinja July 15th, 2011 @ 05:11 PM

    • 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.

  • expNinja

    expNinja July 15th, 2011 @ 05:15 PM

    • Title changed from “Minify Configurations” to “Minify”
  • expNinja
  • rasseljandavid (at gmail)

    rasseljandavid (at gmail) July 18th, 2011 @ 07:16 AM

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

    See attached screenshots.

  • rasseljandavid (at gmail)

    rasseljandavid (at gmail) August 8th, 2011 @ 09:01 AM

    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.

  • expNinja

    expNinja August 8th, 2011 @ 03:58 PM

    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)

  • expNinja

    expNinja August 31st, 2011 @ 05:32 PM

    • Milestone changed from Stable to 2.0.1

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

  • expNinja

    expNinja September 22nd, 2011 @ 05:56 PM

    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.

  • expNinja

    expNinja September 22nd, 2011 @ 05:56 PM

    • State changed from “open” to “resolved”

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Attachments

Pages