Fix an old url related bug, add gzip support