Effect CommunityEC
Effect Community•2y ago•
21 replies
jrmdayn

how to warm up cache in persisted request resolver?

Looking at the persisted request resolver (https://github.com/Effect-TS/effect/blob/main/packages/experimental/test/RequestResolver.test.ts), how would one warmup the cache? Is the only solution to actually execute N requests upfront? Is there a way to access the cache, ie the BackingPersistenceStore directly to write to it? Probably a bad idea, but wondering what would be the good practice here?
Thanks
Was this page helpful?