File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ def get_dynamic_data(request: Request, response: Response):
201201 return {" success" : True , " message" : " this data should only be cached temporarily" }
202202```
203203
204- [ !NOTE]
204+ > [ !NOTE]
205205> ` expire ` can be either an ` int ` value or ` timedelta ` object. When
206206> the TTL is very short (like the example above) this results in a decorator
207207> that is expressive and requires minimal effort to parse visually. For
@@ -255,7 +255,7 @@ def partial_cache_two_hours(response: Response):
255255 return {" success" : True , " message" : " this data should be cached for two hours" }
256256```
257257
258- [ !TIP]
258+ > [ !TIP]
259259> Please read the full documentation on the [ website] [ website ] for more
260260> information on the ` @cache ` decorator and the pre-defined lifetimes.
261261> There is also a section on [ cache keys] [ cache-keys ] that explains how the
You can’t perform that action at this time.
0 commit comments