Skip to content

Conversation

adieUkid
Copy link
Contributor

I found that when using the go-callvis for some large projects (such as kurbernetes), each package takes a long time to render, and these tasks cannot be reused. So i add caching function to avoid some unnecessary re-renderings.

@ondrajz ondrajz closed this Aug 29, 2020
@ondrajz ondrajz reopened this Aug 29, 2020
@ondrajz
Copy link
Owner

ondrajz commented Aug 29, 2020

Hey, thank you for your contribution!

I have one question about the cache expiration - perhaps for those cases when someone uses this during development and code changes. Perhaps some URL query to force no-cache so they can refresh right after some code changes.

@adieUkid
Copy link
Contributor Author

adieUkid commented Sep 1, 2020

You are right. I added it.
For me, the caching function is mainly useful when browsing some larger projects, saving my time without manually copying the generated files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants