Content-Type: text/html Content-Length: 2070
Info File: 1 File: 2 File: 3 File: 4
Exec body on 1st step, then just get cached result Executed body, ^cache[] value defined, result: ' One (1) '
Get cached result, result: ' One (1) '
Get cached result, result: ' One (1) '
Executed body, ^cache[] value defined, result: ' Two (1) '
Get cached result, result: ' Two (1) '
Get cached result, result: ' Two (1) '
Executed body, ^cache[] value defined, result: ' Three (1) '
Get cached result, result: ' Three (1) '
Get cached result, result: ' Three (1) '

Value in cache not expired yet.

Get cached result, result: ' Three (1) '
Get cached result, result: ' Three (1) '
Get cached result, result: ' Three (1) '
Wait for 3 secs. Cache expired for sure. ^sleep(3)
1. Body code has an exception but force get cached result
2. Execute body and set ^cache(0) for prevent cacheing
3. Body code has an exception, execute catch section and set ^cache(0)
Processing catch section, result: ' One (1) '
Get cached result, result: ' One (1) '
Get cached result, result: ' One (1) '
Executed body, ^cache[] value defined, result: ' Two (1) '
Executed body, ^cache[] value defined, result: ' Two (2) '
Executed body, ^cache[] value defined, result: ' Two (3) '
Processing catch section, result: ' Catch section results '
Processing catch section, result: ' Catch section results '
Processing catch section, result: ' Catch section results '
Error. Body executed 1 times, catch executed 1 times.
Error. Body executed 1 times, catch executed 1 times.
Error. Body executed 1 times, catch executed 1 times.