[wp-hackers] Long Polling, Ajax and WordPress
hal at burgiss.net
Tue Nov 1 14:30:11 UTC 2011
On Tue, Nov 1, 2011 at 9:46 AM, Dagan Henderson <
Dagan.Henderson at epyllion.com> wrote:
> >A different take on this ... since it seems to me a heavy handed use of
> resources if there is significant traffic, and the data could be cached
> (although a very short lived cache), and that way you don't have
> potentially many clients running the same query every few seconds. So, I
> would think about a shell script that builds the cache server side:
> Rather than a long-running shell script (which violates some hosting
> provider TOS and requires SSH access), why not hook into 'edit_post,'
> which is called for comments and post edits alike?
Better, yes! That way cache is rebuilt only as needed.
More information about the wp-hackers