• Resolved bhbuck

    (@bhbuck)


    Is it possible to automatically run a cgi script each time a post is published? The reason I ask is that I’m trying to cut down on max_queries to the database by creating a static index page for visitors to view, instead of constantly dishing out dynamic content when there’s no need for it. Make sense?
    I’ve created the CGI script already, and it works. Only thing is, for the static index page to be up-to-date, I have to run the script manually. (That onto itself is no big deal, but I have other posters on my blog and they’ll surely forget from time to time to run the script)
    Any help would greatly be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Isn’t the WP-Cache plugin doing exactly the same? Serving cached pages to decrease the DB hits?

    Thread Starter bhbuck

    (@bhbuck)

    Moshu, thank you for the quick response. I thought I was hitting on an idea that hadn’t been addressed. I was wrong.

    Will check into WP-Cache. Wish me luck!

    Again, many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Run CGI upon Publish… possible?’ is closed to new replies.