Mark Story

Results 653 comments of Mark Story

Yeah, but I'm not so sure the helper should magically add the gz extension. Perhaps it could be an option to script/CSS or a helper level switch that can be...

Sure but the config file is generally static and would lack the ability to toggle per request entirely. I would prefer to have the hot application tell the helper when...

My issue is with criteria C. I don't think the helper should be inspecting the request and making its own decisions. Instead I would much rather have the following ```...

How is my solution not sufficient? Replacing the hard coded `true` with a variable generated by the application allows files to be conditionally loaded without the plugin needing to infer...

@gunner1095 No as a user you would set the gzip option to be what your application decides it should be. Meaning that the application needs to check the headers/apply any...

Sure if those are the conditions your application needs then that would be one way of doing it. My concerns with hardcoding environment checks into the helper are around applications...

The hash filenames don't depend on the timestamps. So I don't really understand the issue here. Perhaps you can give some more information?

I understand now, you are saying that the hash _should_ depend on the mtime of the component files. I've been thinking of making the builds mtime sensitive so you don't...

So instead of checking mtime you would be doing something like md5sum on each file?

How would the hash for a build file be calculated? One nice thing with mtimes is that the cli builder can skip fresh builds with very little disk IO.