Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cacheKnownAssets? #1463

Open
ComLock opened this issue Oct 15, 2024 · 0 comments
Open

Remove cacheKnownAssets? #1463

ComLock opened this issue Oct 15, 2024 · 0 comments

Comments

@ComLock
Copy link
Contributor

ComLock commented Oct 15, 2024

The cacheKnownAssets function is only mentioned in it's own file, aka it's not exported in src/main/resources/lib/enonic/react4xp/index.ts.

And no hits when searching for it here:
https://developer.enonic.com/search?q=cacheKnownAssets

So I believe it can be deleted.

It's also the only function that calls clearAssetResponseCache, clearETagCache, getCachedETag and getCachedAssetResponse.

So maybe the whole cache file dissapears.

@ComLock ComLock changed the title Remove cacheKnownAssets Remove cacheKnownAssets? Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant