Skip to content

feat: cache to avoid hitting cdn rate limit#3

Merged
tomghyselinck merged 4 commits intomasterfrom
fix/rate-limit-issue
Aug 19, 2025
Merged

feat: cache to avoid hitting cdn rate limit#3
tomghyselinck merged 4 commits intomasterfrom
fix/rate-limit-issue

Conversation

@Hamza-Malkawi
Copy link
Collaborator

Added persistent, on-disk caching for Highcharts JavaScript library downloads to avoid repeated network requests and prevent hitting Highcharts rate limits

Introduced [diskcache]

First run may download required files; subsequent runs reuse local cache ('./highcharts_cache')

Easy to integrate with pipelines

@Hamza-Malkawi Hamza-Malkawi self-assigned this Aug 13, 2025
@Hamza-Malkawi Hamza-Malkawi added the enhancement New feature or request label Aug 13, 2025
Copy link
Collaborator

@tomghyselinck tomghyselinck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

Hamza-Malkawi and others added 2 commits August 18, 2025 16:03
fix: prefix cache directory with . to make it hidden

Co-authored-by: Tom Ghyselinck <tom.ghyselinck@linbox.be>
Co-authored-by: Tom Ghyselinck <tom.ghyselinck@linbox.be>
@tomghyselinck tomghyselinck changed the title Fix/rate limit issue feat: cache to avoid hitting cdn rate limit Aug 19, 2025
@tomghyselinck tomghyselinck merged commit 95937b5 into master Aug 19, 2025
@tomghyselinck tomghyselinck deleted the fix/rate-limit-issue branch August 19, 2025 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants