[PATCH] Added code to output the age as seconds instead of "0 min."

Ferry Huberts mailings at hupie.com
Mon Oct 1 08:12:38 CEST 2012



On 30-09-12 23:33, Jason A. Donenfeld wrote:
> So much confusion. I'll reexplain:
>
> Before:
> You visit a page with cache turned on. It says "modified 1 minute
> ago".. You visit the page again a little later. It says "modified 1
> minute ago". You don't really notice, because a minute is a longish
> amount of time.
>
> After:
> You visit a page with cache turned on. It says "modified 7 seconds
> ago". You visit the page again a little later. It says "modified 7
> seconds ago". You do notice, because you're more intimately aware of
> the fact that a minute after seven seconds is more than seven seconds.
>
>
> This is the only concern. A bit silly perhaps.
>

I don't care about seconds resolution.
The cache is exactly the reason we should not have seconds resolution 
because it provokes all kinds of confusion (like this discussion)


-- 
Ferry Huberts




More information about the CGit mailing list