Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Final release candidate 1.0-RC-2 is available.

@Sam

Has any consideration been given to changing how the frontpage displays the “freshness” age.

Right now it appears to be outputted by PHP in a processed format (e.g. “18 minutes ago”).

This is a problem if you attempt to statically cache the front page because the “18 minutes ago” freshness field will remain at that static time until you re-cache the page.

This could easily be adverted if the freshness field was simply the UTC last posted time and simply letting JavaScript to format the freshness into the appropriate format. That way, you can cache statically the front page (since the UTC last post date won’t change) but the page will “appear” dynamically because JavaScript is simply formatting the time according chaning that “18 minutes ago” freshness into the appropriate age.

Skip to toolbar