Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description --- Add cache settings. 2 minutes on blocks, and other searches, 0 on mempool. We can discuss the cache length. Once we go live, we can cache the block after some time indefinitely (the ones that are never going to be reorg again). Motivation and Context --- How Has This Been Tested? --- Running tari-explorer locally. What process can a PR reviewer use to test or verify this change? --- Run locally to make sure that the response headers are properly set. <!-- Checklist --> <!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit tag, will be included exactly as is in the CHANGELOG, so please think about it carefully. --> Breaking Changes --- - [x] None - [ ] Requires data directory on base node to be deleted - [ ] Requires hard fork - [ ] Other - Please specify <!-- Does this include a breaking change? If so, include this line as a footer --> <!-- BREAKING CHANGE: Description what the user should do, e.g. delete a database, resync the chain -->
- Loading branch information