As the title, I wrote a small forum (perl/mysql), and i was thinking about how i could increase the performance. Right now, its all 'dynamic', meaning that when you hit "displaythread.pl" it runs the sql query on the db and then prints back the rows that return (formatting and so forth aside). My idea was that when someone requested a thread, the script would check to see if a html file for that existed, if it did, it would just send back the html file, if it didnt, it would generate the file then send it back. The idea here is to cut down on a cpu power and so forth, as sending back a simple html file has to be less cpu intensive then running a perl script. Any ideas on how/why i could or could not do this? It was suggested i try generating the html file when it was modified?