<commit_before>var redis = require('./redis'),
	config = require('../config');

module.exports = function(){
	return function(req,res,next){
	    if(config.testing){
	        res.cache = function(){
	            return this;
	        }
	        return next();
	    }

	    var end = res.end,
	        write = res.write,
	        cache = [],<commit_msg>removed caching layer from tests<commit_after>var config = require('../config');

module.exports = function(){
	return function(req,res,next){
	    if(config.testing){
	        res.cache = function(){
	            return this;
	        }
	        return next();
	    }

	    var redis = require('./redis');

	    var end = res.end,
	        write = res.write,
	        cache = [],
{'fraction_non_alphanumeric': 0.15027322404371585, 'fraction_numerical': 0.0, 'mean_word_length': 1.9676113360323886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2699631', 'n_tokens_mistral': 227, 'n_tokens_neox': 204, 'n_words': 49}