JavascriptSubtitlesOctopus icon indicating copy to clipboard operation
JavascriptSubtitlesOctopus copied to clipboard

Unable to Set Caching Policy for Remote Fonts

Open kamranjon opened this issue 2 years ago • 0 comments

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.

kamranjon avatar Oct 25 '23 19:10 kamranjon