for each $post???? cache data for each post daily
-
hello all,
im working on a plugin right now that uses seostats class to gather pr,backlinks, etc for each post/page.
it then displays them on the list of posts/pages page in the admin panel so you can see stats for each post/page.
this is simple enough. but causes some serious speed issues, obviously due to checking the stats for each post in one page request.
what i need is a way to “cache” or store this data and only run the stats request once a day.
i think this can be achived by doing a foreach and saving the data as post_meta and runnign this function using wordpress built in cron functions.
the only problem is i havent seen anyhting like this before and no idea how to start.
any help would be greatly apreciated.
The topic ‘for each $post???? cache data for each post daily’ is closed to new replies.