Skip to content

IIS web.config for static caching failed #392

Description

@pmeissner

I tried the docs recommended rules to enable static caching in the web.config, BUT if a static html file didn't exist Statamic wouldn't create one which ended up in a 404.

Peter cracked the code by adding a condition. See answer in forums. If I static file doesn't exist Statamic will now create one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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