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

Unable to Set Caching Policy for Remote Fonts #162

Open
kamranjon opened this issue Oct 25, 2023 · 0 comments
Open

Unable to Set Caching Policy for Remote Fonts #162

kamranjon opened this issue Oct 25, 2023 · 0 comments

Comments

@kamranjon
Copy link

kamranjon commented Oct 25, 2023

Hi there, it's possible that I am missing something - but it appears that fonts are always fetched with a Cache-Control: no-cache header - this means that every time you dispose of and create a new instance of SubtitlesOctopus - the fonts are fetched over the network even though they could easily be cached by the browser.

It would be great to either default to some max-age cache control that is reasonable or just allow the user to pass in custom headers for these requests.

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