Skip to content

Different cache setting required for css + image assets #11

Description

@knowler

idk what to set for this, but this makes developing with changing CSS very difficult (especially since development CSS might not have hashed filename to bust the cache). Seems like it’s meant for production.

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions