Skip to content

Unable to Set Caching Policy for Remote Fonts #162

@kamranjon

Description

@kamranjon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions