Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Perl scripts making my site slow

by kingdean (Novice)
on Jun 25, 2004 at 19:49 UTC ( #369736=note: print w/replies, xml ) Need Help??

in reply to Re: Perl scripts making my site slow
in thread Perl scripts making my site slow

Jeff, I am a novice, but I am learning. Let me give you an idea what I was thinking about and you tell me if this makes sense. If I update my index.html file, I upload it and everything is fine. The index.html calls upon several pages and updates automatically. If I put this index.html file in a directory say... ( and I make a cron job look at that file and run it, then dump the page as a visitor would see in html into the file ( Then when someone accesses my main page, it is just a html file and shouldn't be slow. Does this sound like it would work? Thanks Dean

Replies are listed 'Best First'.
Re^3: Perl scripts making my site slow
by jeffa (Bishop) on Jun 25, 2004 at 19:56 UTC

    That sounds like it should work, but we are leaving out the specifics. Why don't you try this. Write a cron job that runs one of these scripts you speak of. Have it write the output to some .html file that a user will view. Set the cron job for every minute or 5 minutes until you get it working correctly, then set it to run ever a hour or two. If you have problems with this, then ask us specific questions about that in a new thread.

    Then, once you get all of that working ... you can look into Template Toolkit should you want to "upgrade" your system. ;) Cheers and good luck!


    (the triplet paradiddle with high-hat)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://369736]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2023-05-28 07:02 GMT
Find Nodes?
    Voting Booth?

    No recent polls found