Skip to content

Fonts do not update if I switch format #7

@gsarig

Description

@gsarig

Hi,

I noticed the following issue: If I load the fonts as woff2 and then regret it and add the WOFF parameter for IE compatibility, the local fonts folder keeps containing the WOFF2 version, and vice versa. Basically, it's whatever loads first. After that, if you want to override the setting you need to manually remove the fonts folder and reload the page to fetch the fonts again.

Ideally, this switch should be handled from within the script, either by re-downloading the fonts when the format changes or by downloading both versions and load whichever is set in wp_enqueue_style accordingly.

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