Typo
This commit is contained in:
parent
bca723bcf3
commit
619cad9c35
@ -24,7 +24,7 @@ module.exports = function setCacheControlHeader ({
|
||||
|
||||
const directives = [ 'public' ];
|
||||
|
||||
if (everyAffectedTablesCanBeInvalidated(affectedTables)) {
|
||||
if (everyAffectedTableCanBeInvalidated(affectedTables)) {
|
||||
directives.push(`max-age=${ttl}`);
|
||||
} else {
|
||||
directives.push(`max-age=${fallbackTtl}`);
|
||||
@ -41,7 +41,7 @@ module.exports = function setCacheControlHeader ({
|
||||
};
|
||||
};
|
||||
|
||||
function everyAffectedTablesCanBeInvalidated (affectedTables) {
|
||||
function everyAffectedTableCanBeInvalidated (affectedTables) {
|
||||
const skipNotUpdatedAtTables = false;
|
||||
const skipAnalysisCachedTables = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user