 		application.$wheels.cacheQueries = true;
 	}
 
-	// csrf protection settings
+	// Other caching settings.
+	application.$wheels.maximumItemsToCache = 5000;
+	application.$wheels.cacheCullPercentage = 10;
+	application.$wheels.cacheCullInterval = 5;
+	application.$wheels.cacheDatePart = "n";
+	application.$wheels.defaultCacheTime = 60;
+	application.$wheels.clearQueryCacheOnReload = true;
+	application.$wheels.clearTemplateCacheOnReload = true;
+	application.$wheels.cacheQueriesDuringRequest = true;
+
+	// CSRF protection settings.
 	application.$wheels.csrfStore = "session";
 	application.$wheels.csrfCookieEncryptionAlgorithm = "AES";
 	application.$wheels.csrfCookieEncryptionSecretKey = "";

	application.$wheels.viewPath = "views";
	application.$wheels.controllerPath = "controllers";

	// miscellaneous settings
	application.$wheels.uncountables = "advice,air,blood,deer,equipment,fish,food,furniture,garbage,graffiti,grass,homework,housework,information,knowledge,luggage,mathematics,meat,milk,money,music,pollution,research,rice,sand,series,sheep,soap,software,species,sugar,traffic,transportation,travel,trash,water,feedback";
	application.$wheels.irregulars = {child="children", foot="feet", man="men", move="moves", person="people", sex="sexes", tooth="teeth", woman="women"};
	application.$wheels.tableNamePrefix = "";

	application.$wheels.functions.wordTruncate = {length=5, truncateString="..."};
	application.$wheels.functions.yearSelectTag = {label="", labelPlacement="around", prepend="", append="", prependToLabel="", appendToLabel="", includeBlank=false, startYear=Year(Now())-5, endYear=Year(Now())+5};

	// Mime types.
	application.$wheels.mimetypes = {txt="text/plain", gif="image/gif", jpg="image/jpg", jpeg="image/jpg", pjpeg="image/jpg", png="image/png", wav="audio/wav", mp3="audio/mpeg3", pdf="application/pdf", zip="application/zip", ppt="application/powerpoint", pptx="application/powerpoint", doc="application/word", docx="application/word", xls="application/excel", xlsx="application/excel"};

	// Set a flag to indicate that all settings have been loaded.
	application.$wheels.initialized = true;

	// Load general developer settings first, then override with environment specific ones.
	$include(template="config/settings.cfm");
	$include(template="config/#application.$wheels.environment#/settings.cfm");

	// Clear query (cfquery) and page (cfcache) caches.
	if (application.$wheels.clearQueryCacheOnReload or !StructKeyExists(application.$wheels, "cacheKey")) {
		application.$wheels.cacheKey = Hash(CreateUUID());
	}
	if (application.$wheels.clearTemplateCacheOnReload) {
		$cache(action="flush");
	}

	// Add all public controller / view methods to a list of methods that you should not be allowed to call as a controller action from the url.
	local.allowedGlobalMethods = "get,set,drawRoutes";
	local.protectedControllerMethods = StructKeyList($createObjectFromRoot(path="wheels", fileName="Controller", method="$initControllerClass"));
	application.$wheels.protectedControllerMethods = "";
