https://github.com/sarathkcm/nitrocacher
🚀Fiddler add-on to cache API responses. Warp speed for your frontend development.
https://github.com/sarathkcm/nitrocacher
api-cache caching development-tools fiddler http-cache
Last synced: 8 months ago
JSON representation
🚀Fiddler add-on to cache API responses. Warp speed for your frontend development.
- Host: GitHub
- URL: https://github.com/sarathkcm/nitrocacher
- Owner: sarathkcm
- License: mit
- Created: 2020-02-09T19:51:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-17T12:01:16.000Z (over 5 years ago)
- Last Synced: 2025-04-07T09:24:26.885Z (about 1 year ago)
- Topics: api-cache, caching, development-tools, fiddler, http-cache
- Language: C#
- Homepage:
- Size: 245 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 Nitro Cacher
[Fiddler Classic](https://www.telerik.com/fiddler) add-on to cache API responses based on rules.
Useful while developing in projects that use
* rate-limited APIs.
* lot of API calls that are cached in-memory in the application process. These get invalidated between recompiles in your development machine and could take a lot of time to rebuild.
An out-proc/disk cache baked into the application is probably the right solution to these problems.
But chances are that you are already using Fiddler for debugging API calls, and this add-on provides a cheap and re-usable alternative
for caching API calls in your development machine without needing you to change a single line of your project's code.
## Features
* Match URL using various criteria: Exact, Partial, Regex, Host Name.
* Options to mark sessions served from cache in UI with colors, or hide it.
* Enable/Disable the cache for individual rules or as a whole.
* Group rules into profiles, and switch between profiles at any time.
* Reset cache per rule, per profile or as a whole.
## Installation
Download the NitroCacher.dll from releases, and
* Copy to \Documents\Fiddler2\Scripts to make the extension available to the current user.
* Copy to \Program Files\Fiddler2\Scripts OR AppData\Local\Programs\Fiddler\Scripts (this path depends on how fiddler was installed) to install for all users
Restart fiddler, and navigate to `Nitro Cacher` tab for configuring rules.
## Configuration Screens
#### Main Screen

#### Rule configuration

## Contribute
Bug reports and Pull Requests are welcome. The add-on is not thouroghly tested, and could use some improvements in terms of code and features.
Few features that are planned:
- [ ] An installer
- [ ] Persistant cache
- [ ] Filter requests further using HTTP verbs
- [ ] Expiration and Cache size limit for the cache.
- [ ] Display Summary of cache (Number of items, memeory used etc.)
### Developing
* Checkout the code
* Open NitroCacher.sln in Visual Studio
* Edit the Post Build event to point to where the add-on should be copied to.
* Update references to fiddler.exe with the correct paths.
* Build.
* Launch fiddler to test the add-on. Every recompilation needs fiddler to be closed and opned again to reload the add-on.
* Attach Visual Studio to the Fiddler.exe process for debugging.