Skip to content

Cache Invalidation Upon Store Update? #627

@daniel-klingensmith-jamf

Description

Hey @outofcoffee,

I've been looking into some inconsistent responses and trying to get to the bottom of it. Consistently reproducing them has been a pain, so I've been looking everywhere and finding some interesting things along the way, thus some of my previous Issues.

I'm looking through ResponseFileServiceImpl and StoreServiceImpl and am not seeing any cache invalidation upon updating of the values in stores. I am needing this for when I have a templated response file return different values based on the value in a store that is changed during my test. For now I'm just setting 'IMPOSTER_RESPONSE_FILE_CACHE_ENTRIES': "0", but I wanted to raise the idea of an environment variable that would signal to invalidate all caches upon the update of any stores as an alternative to not using caching at all.

Let me know what you think, and thank you for all of the great help so far!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions