Centralize Caching Service Across Routes#15
Open
HermanKoii wants to merge 6 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Centralize Caching Service Across Routes
Description
Task
Refactor existing routes to use centralized caching service
Acceptance Criteria
Summary of Work
This pull request implements a centralized caching strategy across our cryptocurrency API routes, enhancing performance and reducing redundant caching implementations.
Changes Made
cacheService.jsprovides a robust, flexible caching mechanismcoinDetails.jsrouteImplementation Details
node-cachewith configurable TTL (default 10 minutes)get(),set(),delete(), andclear()Testing Approach
Notes
Changes Made
Tests
Signatures
Staking Key
3JF13GJW2UeYuTTRJQBdBD9bHP6Zj1QLMyXBMoAP2r5Y: QVtg5uy7BBzyaWe7pMsrmEwf5GPz1PXUWsCZe3zmqQCicShtayix46NDgMDUYBhdocQEEoVtxxXifiP9kdS82ETuzd4wyUYZdsXL1JkqenSb2D2dhV3p7WNKKkDvV9fBh1NeMrdRSdVnHDURNTtMmcqDY6mbw7jFsKXwEVfpW2NWjxpZeHnCJYChsNukq4CGsUjLRzeBjvAhdttC9eiyuzYQ5u4rxgJWf68Msx8guACfiVisfREaZyj5RfyEvYnxSoZsGU8C2hVEnRA8xiGNx5JXwg7macPeyvcPsPGNFHciHso1KnfpyUVB3rTsuZ65Wtb4yx2SBhhLqkQTEkd6KkhchwpKzQ31CZ8DPLC3MGb57uajzQyRZgKRZXAik46MJeWgxsoAYy9wcpKQFEtWT9nxwDtCVvV9Dv
Public Key
H2j8Cz7zKCeuDTs73vtjDtBmtytQX1JyaQqvYwwQWE6p: UZLsHcjtYnTfDazXuwarKebLsaYj9GzSjcS5cYQcmqrh6qosSouaF8HHs6TBRffv1AaTezjjzTi7pRetSbcU9hyor9dV74ZBrXf82QYes2bj4krRVbGjt6hbnB4xVG7qSp1owsGZrYUsvRA7YoBwkfRxaXzZy2Y3NTV3gjRBdAHtcR3pGp4JuGy3FvSR133HjN585mhoo4aVWGtKDp8cTYELMBnC1o3CPEPLq7dTGqyHggiMDCXP7MDJ8c8LVK6rB9pZBBHhtFm5NfztysaUCLNNzVUTVRYRR2dv8oqnQWAwPqoSnZfLoVR7FsWXgBjaoHWBnvmVVQsaWbiBZ44qrQPtcK7WKgTcDsiCVdwC6sR2ukyGtsthVtEKmY2YuQSpi4MK3JXYPphJz2JcR67Yy9x8Ry5hUS51sS