Comments (3)
That's of course implemented already. Without caching it were much worse. it were actually impossible to work at all. There are dozens of users that just have some scripts that query wttr.in every minute or even every 5 seconds (that makes no sense because of the caching, but they don't care).
from wttr.in.
@chubin I may be reading things incorrectly, but not just caching on an IP - but caching weather results for a location.
So even if you have 20 different IPs requesting info for whereever every minute, if they are in the same city, it counts as one request to the weather provider within the cache limit.
from wttr.in.
Yes, we do this type of caching. We cache the results basing on locations, IP is ignored in this case
from wttr.in.
Related Issues (20)
- Language options stopped working HOT 1
- moon phase inverted?
- Site Down? HOT 7
- Curl wttr.in not working HOT 12
- Fix PNG rendering HOT 15
- German Translation "Morning" HOT 1
- wttr.in service down HOT 2
- different data for the same location depending on the language
- readme.md does not show the weather right on live test HOT 2
- V2 webpage broken: `PNG support temporary disabled` HOT 3
- Page is wide, while I expect it should be narrow HOT 1
- Site down HOT 1
- Text direction stripped from location (terminal)
- southern hemisphere 404 unknown location HOT 2
- Emoji spacing in nwg-wrapper HOT 2
- incorrect current temperatures
- Moon phases are missing on wttr.in but work correctly on www.wttr.in HOT 3
- Connection refused
- Docker - no ./share/we-lang HOT 1
- Snowfall underestimate?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wttr.in.