Today, I saw a question dealing with sessions timing out too fast that was tagged with expire. I thought to myself, that sounds pretty generic, as many things can "expire."
Looking through the 109 questions that have been tagged at some point, there is a wide variety of types of questions employing the expire tag. I decided perhaps I would put together a tag wiki for it to make it more understandable for what the tag deals with. After much deliberation in my head, I came to the conclusion that this tag is way too ambiguous.
The expire tag has been used in at least the following cases:
- Session expiration
- Cache expiration
- Cookie expiration
- Header expiration
- Date/Time expiration
- The Redis command EXPIRE
While the majority of these deal with "data" expiring, they all have much more descriptive tags they could be using (most of which already are), e.g. session, caching, cookies, header, and datetime. The only exception is the Redis EXPIRE command, which is an actual, documented command. However, using the generic expire for it is likely to be used incorrectly, which could exactly be what happened here.