if (responseCode < 300 || responseCode >= 400) { // Response code other than 3xx
boolean html = isHTML();
charset(); // set it
if (html) {
if (Configuration.addCharacterFilter()) addFilter(new CharacterFilter(charset));
if (Configuration.addJSModifierFilter()) addFilter(new JSModifierFilter(charset));
if (Configuration.addHTMLModifierFilter()) addFilter(new HTMLModifierFilter(charset, isXHTML(), isSSL));
addFilter(new NoCacheFilter());
} else if (isJs()) {
if (Configuration.addCharacterFilter()) addFilter(new CharacterFilter(charset));
if (Configuration.addJSModifierFilter()) addFilter(new JSModifierFilter(charset));
// Removing NoCacheFilter because it slows down pages a lot.
// Test on http://sourceforge.net main page. min.js should be fetched from cache.
// addFilter(new NoCacheFilter());
}
}