Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored Nov 15, 2023
1 parent ad2a82f commit c7e86f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions content/en/functions/partials/IncludeCached.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: partials.IncludeCached
description: Executes the given template and caches the result, optionally passing context. If the partial template contains a return statement, returns teh given value, else returns the rendered output.
description: Executes the given template and caches the result, optionally passing context. If the partial template contains a return statement, returns the given value, else returns the rendered output.
categories: []
keywords: []
action:
Expand All @@ -20,8 +20,6 @@ aliases: [/functions/partialcached]

Without a [`return`] statement, the `partialCached` function returns a string of type `template.HTML`. With a `return` statement, the `partialCached` function can return any data type.



The `partialCached` function can offer significant performance gains for complex templates that don't need to be re-rendered on every invocation.

{{% note %}}
Expand Down

0 comments on commit c7e86f0

Please sign in to comment.