mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Trying caching in express-handlebars
This commit is contained in:
		@@ -17,7 +17,7 @@ var mongo_db_cred = {config: 'mydb'};
 | 
			
		||||
app.engine('handlebars', hbs.engine);
 | 
			
		||||
//hbs.loadPartials(publicPath + "/layouts/");
 | 
			
		||||
app.set('view engine', 'handlebars');
 | 
			
		||||
 | 
			
		||||
app.enable('view cache');
 | 
			
		||||
app.set('views', publicPath);
 | 
			
		||||
 | 
			
		||||
try{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user