Skip to content

Commit

Permalink
Update caching.cfm
Browse files Browse the repository at this point in the history
  • Loading branch information
MvdO79 authored Nov 5, 2023
1 parent c6974a6 commit bfc84fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wheels/controller/caching.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public void function caches(string action = "", numeric time, boolean static, st
$args(args = arguments, name = "caches", combine = "action/actions");
arguments.action = $listClean(arguments.action);
// When no actions are passed in we assume that all actions should be cachable and indicate this with a *.
// When no actions are passed in we assume that all actions should be cacheable and indicate this with a *.
if (!Len(arguments.action)) {
arguments.action = "*";
}
Expand All @@ -40,7 +40,7 @@ public void function $addCachableAction(required struct action) {
}
/**
* Called when processing a request, and from other functions in this file, to get all cachable actions.
* Called when processing a request, and from other functions in this file, to get all cacheable actions.
*/
public array function $cachableActions() {
return variables.$class.cachableActions;
Expand Down Expand Up @@ -71,7 +71,7 @@ public void function $clearCachableActions() {
}
/**
* Called when processing a request to see if any actions are cachable.
* Called when processing a request to see if any actions are cacheable.
*/
public boolean function $hasCachableActions() {
if (ArrayIsEmpty($cachableActions())) {
Expand Down

0 comments on commit bfc84fe

Please sign in to comment.