Hi Plant-it Community!
This PR introduces a new feature to automatically clean up the frontend cache after a specified period. The cleanup interval is now determined by the CACHE_TTL_DAYS parameter in the frontend.env file.
What's new?
This enhancement ensures that outdated cache entries are regularly removed, optimizing the app's performance.
Simply set the desired cache time-to-live in days using the CACHE_TTL_DAYS parameter in the frontend.env file. The cache cleanup process will run at regular intervals based on this configuration.
Hi Plant-it Community!
This PR introduces a new feature to automatically clean up the frontend cache after a specified period. The cleanup interval is now determined by the
CACHE_TTL_DAYS
parameter in thefrontend.env
file.What's new?
This enhancement ensures that outdated cache entries are regularly removed, optimizing the app's performance.
Why is it important?
Automated cache cleanup helps manage storage efficiently.
How to Use?
Simply set the desired cache time-to-live in days using the
CACHE_TTL_DAYS
parameter in thefrontend.env
file. The cache cleanup process will run at regular intervals based on this configuration.Cheers and happy planting! 🌿🌼