TJ will probably have a more exact solution for this exact problem,
but you probably ought to be gzipping your static content, anyways,
and gzippo (
https://github.com/tomgallacher/gzippo) is a nice Express
middleware we use for our static content that doesn't really add
processing overhead (except when first creating the gzipped cache),
though it does add memory overhead (keeps the cache in memory rather
than putting it into memcached or the like).
We don't have any MIME type issues with it, so you can try that, and
if you still get the same MIME type for your files, that could be
indicating the problem is somewhere other than the static content
middleware.
David
On Aug 31, 12:14 pm, Clint Harris <
clinthhar...@gmail.com> wrote:
> FYI: Node 0.5.4, Express 2.4.3