‘Time-ago’ with caching?
-
I have noticed pages generated by the plugin that have ‘time ago’ will not function on a site that is being cached. In single listings, category pages, all pages where ‘x days ago’, ‘x minutes ago’ is shown, the time will not update accurately if the page uses caching. I need to use caching on my site whilst having these times update accurately.
Is there a simple solution for the time ago used by the plugin to work on a cached site or am I forced to not use caching so the time updates and shows correctly?
It would help if the generated time ago used the <time> tag so I could use this jquery plugin https://timeago.yarp.com/ , but I do not know how you are generating the times.
I’m sure many others want this to work with caching enabled, please advise
The topic ‘‘Time-ago’ with caching?’ is closed to new replies.