Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - [Unknown]
46
Features: Theming / Re: JavaScript caching
« on June 19th, 2011, 10:34 AM »
Why not minify and cache the single built file, rather than minifying separately and then combining and caching?  You'll probably get better perf.

Honestly, this is why I didn't use comments in the js files of olde, I figured it was way too much to run something on them to remove comments.  But, it's getting more popular now and making sense.

-[Unknown]
47
Features: Theming / Re: CSS and JavaScript minification
« on June 19th, 2011, 10:32 AM »
How is this implemented?  It would be nice if it does it based on e.g. a production or non-debug setting.

I did some post-deflate tests, and in fact for many projects am using a script that uses Closure Compiler, uglify-js, packer (although packer2, need to either fix packer3 PHP or write some hookup for offline automation... maybe node.js?), and YUI.  Usually uglify-js is the winner.

For CSS, I've not been impressed with a PHP css compressor I found that was popular.  YUI seems to do a lot of nice things, and do pretty well after deflate without breaking things.  That said, I've been looking at lesscss/sassy lately, which supposedly pack as well, and haven't compared them yet.

Closure Compiler actually returns errors (and can auto-correct most of them) for things like the automatic semicolon insertion issue.  That's why I use it as well, and report errors it reports.

-[Unknown]
48
Features: Theming / Re: Template blocks
« on June 19th, 2011, 10:27 AM »
Sounds like this is using TOX-G or some variant of it, then?

-[Unknown]
49
The Pub / Re: Wedge financial support
« on June 19th, 2011, 10:19 AM »
Quote from Arantor on June 6th, 2011, 09:45 AM
I always had the impression that the SMF team hated it because they actually had some reasonably responsibility to those who had donated
This is why I intentionally saw it as only a "sponsor" type thing.  Yes, I cared to make them happy and wanted to support them first.  But I never liked the idea of priority support or guarantees.

-[Unknown]