Instead of adding keywords to the beginning and ending of a keyword, cache by listener instead.
How this could work:
***keyword***
I Am Cached
[Tags] cached:3600
# Keyword implementation
The listener would cache the output of this keyword using the input arguments as key. The value would expire after 3600 seconds.
Pro
Very easy to implement
Con
Hard to figure out what's happening when you're not familiar with caching.
Instead of adding keywords to the beginning and ending of a keyword, cache by listener instead.
How this could work:
The listener would cache the output of this keyword using the input arguments as key. The value would expire after 3600 seconds.
Pro
Very easy to implement
Con
Hard to figure out what's happening when you're not familiar with caching.