Program Caching and Verification #1091
|
Hey all, I'm wondering if there is a best practice around caching of the program and/or if there is a way to check the program against the source Cel Expression to see if it has changed and needs to be generated again? |
Answered by
TristonianJones
Dec 16, 2024
Replies: 1 comment 1 reply
|
Hi @nalum, We haven't implemented support for this, but your best bet would be to create a checksum of the source expression to store alongside the compiled Cheers, -Tristan |
1 reply
Answer selected by
nalum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nalum,
We haven't implemented support for this, but your best bet would be to create a checksum of the source expression to store alongside the compiled
cel.Program. If you had a file monitor or polling task, you could validate the checksum of the proposed expression against the one which was cached. If they're different, then you'd want to recompile the program.Cheers,
-Tristan