Skip to content

Program Caching and Verification #1091

Answered by TristonianJones
Nalum asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nalum
Comment options

Answer selected by Nalum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants