The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: bill <b...@bunkat.com>
Date: Wed, 18 Apr 2012 13:40:58 -0700 (PDT)
Local: Wed, Apr 18 2012 4:40 pm
Subject: Trying to get express.compress() working
I'm trying to figure out how to use the staticCache(), static(), and
compress() middlewares with Express 3.0 (not specific to 3.0, never had it working in 2.5 either). This is what my app configuration looks like: app.configure(function() {
});
When I look the responses, the staticCache() always misses and my .css
and .js files are not being sent compressed. I figure the ordering is wrong or I'm missing a setting but I can't figure it out. My routes are defined after the app.configure() block. Without the express.compress() line, the staticCache() starts
Does somebody have a sample app that uses staticCache, static, and
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||