Skip to content

Http Asset Cache customization #12

@Gekctek

Description

@Gekctek

Due to using the ic-assets package, the caching rules have been removed, but it might make sense to put them back

cache = {
            default = #public_({
                immutable = false;
                maxAge = 3600;
            });
            rules = [
                {
                    pattern = "/index.html";
                    cache = #public_({
                        immutable = true;
                        maxAge = 3600;
                    });
                },
            ];
        };

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