Express/Connect middleware to set url cache options with globs