Back to The tech awesomeness
Table of contents
Free starter chapters

The article for today.

My coffee package contains the expiry date information, another coffee package contains the best before information.

My bill document for the payment contains the due date information.

The IPv4 header format, internet protocol, IPv6 header format, 'Expires:' header in HTTP responses, 'Cache-Control: max-age' HTTP header field in both requests and responses, 'expires' field in HTTP cookies, public key certificates(Transport Layer Security (TLS), Secure Sockets Layer (SSL) certificates), blockchain smart contracts contain some type of the time to live, due date, expiration date available and not available information.

The file contains created and modified dates inside operational system(OS) of my laptop.


class Document {}

class PaymentDocument extends Document {}

class Datagram extends Document {}

class File extends Document {
    Date createdDate;
    Date modifiedDate;
}

class TermWithTimeToLiveFile extends File {/* similar to datagram in some meaning. */
    /* TTL is commonly used to improve the performance and manage the caching of data. From wikipedia.org */
    Optional < Date > termWithTimeToLiveDate;  
}

Than the sorting by that term date will be possible, if it contains such optional data with a help of listing and others.

By using such class instances the operational system where such class is in use with my files for the office supports not only living documents and term files and documents as well.

By using such class instances the operational system where such class is in use makes my implied role as a user not only as the creator and modifier of the files, and as the optional terminator of the files as well.

The term for my coffee package may be expired and its term may be over and it is still available on my shelf and I can still sort and move it among other coffee packages with their valid best before dates.

After I created my photograph, sound, audio, audiogram, video, motion picture, film clip files I would terminate them optionally, otherwise I am storing them at my devices as living documents, even though I have not edited and modified them often other than few times previously.

For example, time to live term for this document is one minute and thirty five seconds after counting my duration for my viewing of it after creation. And as long as I review and edit such documents sporadically it should be prolonged after such editing. If I assume that time to live date is not for my viewing of this web page but till I create such system as a copy of other system with such extension but I would rather better find another one with such functionality, then it could be periodically updated and renewed. So that I will see that this web page is no longer relevant, thus expired and is probably subject to remove or left and be viewable as expired after sorting among the other web site pages not as exposed one, however that such information to be available at some granular level of access to such web pages. Another option is to create such content management system as a copy of other system with such extension but I would rather better find another one with such functionality. In deed, some files contain some content. So such operational systems contains as a facet the content management system funtionality at some extent.

The update from 2020-05-20.

The http requests does not have HTTP header field with time to live, while the packets of some technologies contain that field. However as long as such HTTP header is available for addition, after such addition it provides the opportunity for some server to add the ability to set time to live for requests and both responses optionally, which are in flows from such instances of such server in both directions.