Best way to get new (comments and reactors) after caching data
See original GitHub issueHi. Not an issue but just like a question. Considering a scenario where i want to get comments and reactors from a post and keep them updated. I did a file cache to save updated data. Which is the best way to get new post comments and reactors while improving speed? does numbering get items from newer to older? Any other trick on this?
Many thanks
Example:
options={"reactors": 20, "comments": 20, "allow_extra_requests": False}))
Issue Analytics
- State:
- Created 2 years ago
- Comments:14
Top Results From Across the Web
Spring Reactor how to cache once and distribute response to ...
My application scrapes the currency data from a website for each 10 seconds. I would like to cache the example currency data below:....
Read more >Clever cache for Reactor's Mono objects - Java Code Geeks
Check our article explaining how to Clever cache for Reactor's Mono objects. ... Data caching is a widespread technique in the programming.
Read more >Add upper limit time to Mono#cache(Function ... - GitHub
i.e. you are not likely to cache a ton of different sources, but rather cache once and reuse the cached Mono . Since...
Read more >Caching strategies to speed up your API - LogRocket Blog
First, check whether data exists in the cache. If it does, read from the cache and send the response. If it doesn't, the...
Read more >Simple caching with local storage - Level Up Coding
Our getFreshData() function now takes a url and a cacheResponse boolean. The url is used to request our data from the API, and...
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 FreeTop 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
Top GitHub Comments
https://github.com/kevinzg/facebook-scraper/commit/201a6681189cb707c8cbcfddebbe467d9f7d8c20 refactors reactor fetching a bit so that it becomes possible to get reactors as a generator (it was already possible to get comments as a generator). Then, the last part of the code could be like so, if you prefer:
Yes ok already doing that. Thanks for all!