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

✨ feat(config.ts): add caching mechanism to reduce file I/O operations #166

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Commits on May 29, 2023

  1. ✨ feat(config.ts): add caching mechanism to reduce file I/O operations

    A caching mechanism has been added to the getConfig function to improve performance by reducing the number of file I/O operations. The function now checks if the configCache variable is enabled and returns the cached value if it is. If the cache is not enabled, the function reads the configuration file and returns the value. After reading the configuration file, the function stores the value in the cache for future use.
    takuya-o committed May 29, 2023
    Configuration menu
    Copy the full SHA
    9062c5d View commit details
    Browse the repository at this point in the history