Skip to content

Commit

Permalink
Merge pull request #101 from Automattic/readme_update
Browse files Browse the repository at this point in the history
Add note about cache exclusion
  • Loading branch information
ashfame authored Sep 21, 2023
2 parents bdd68dd + 7e57a61 commit b66f265
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ function my_oidc_clients() {
}
~~~

### Exclude URL from caching

- `example.com/wp-json/openid-connect/userinfo`: We implement caching exclusion measures for this endpoint by setting `Cache-Control: 'no-cache'` headers and defining the `DONOTCACHEPAGE` constant. If you have a unique caching configuration, please ensure that you manually exclude this URL from caching.

### Github Repo
You can report any issues you encounter directly on [Github repo: Automattic/wp-openid-connect-server](https://github.com/Automattic/wp-openid-connect-server)

Expand Down

0 comments on commit b66f265

Please sign in to comment.