[Feature request] Cache results
See original GitHub issueWhen running e.g. eslint
and stylelint
normally, I always add the --cache
option which allows me to run linting significantly faster once the cache has been created.
For example, running eslint
with the --cache
option in one of our projects takes ~50 seconds to run initially. But running it again, after the first run, takes only around ~2 seconds, which is a lot quicker.
Is this something that could be possible to “hook into” from @betterer/eslint
and @betterer/stylelint
? Or, if not, would it maybe be possible to create something similar for Betterer in general?
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Request.cache - Web APIs | MDN
The cache read-only property of the Request interface contains the cache mode of the request. It controls how the request will interact with...
Read more >requests-cache 0.9.7 documentation
requests -cache is a transparent, persistent cache that provides an easy way to get better performance with the python requests library.
Read more >The Cache API: A quick guide - web.dev
The Cache API is a system for storing and retrieving network requests and their corresponding responses. These might be regular requests and ...
Read more >Caching External API Requests - Real Python
Learn how to to cache external API calls in your Python apps with the excellent "requests" module. This tutorial includes a full example...
Read more >What is Caching and How it Works - AWS
A cache is a high-speed data storage layer which stores a subset of data, typically transient in nature, so that future requests for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this, pretty happy how it’s working! I have some work in progress for full parallelisation too which should improve things further.
Hey @Svish, I just did some more perf fixes (and I have some ideas for the TS performance too), would you mind updating and seeing if you have improvements?