-
-
Notifications
You must be signed in to change notification settings - Fork 406
Open
Labels
Missing Documentationhelp wantedIssues looking for someone to run with them!Issues looking for someone to run with them!
Description
In #1334, we updated the documentation around static caching rewrite rules to workaround various edge cases with query parameters, live preview and non-GET requests.
The updated rewrite rules essentially work like this:
- When the request is not a
GETrequest- It hits Statamic /
index.phpto handle the request.
- It hits Statamic /
- When the URL includes the
live-previewquery parameter- It hits Statamic /
index.phpto handle the request.
- It hits Statamic /
- Otherwise...
- When the page exists in the cache, serve from the
staticdirectory. - Otherwise, it hits Statamic /
index.phpto handle the request.
- When the page exists in the cache, serve from the
We didn't update the rewrite rules for IIS in #1334 because we don't have access to an IIS server to test updated rules on. If anyone has access to an IIS server and is able to test & contribute, that'd be great!
Metadata
Metadata
Assignees
Labels
Missing Documentationhelp wantedIssues looking for someone to run with them!Issues looking for someone to run with them!