FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-04-2003, 10:30 AM   Postid: 87407
Benj
Registered User

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Jun 1999
Posts: 391
Making a dynamic page a static auto build page ?

Hi,
is there any system out there, that would build, lets say, every 30 minutes, a cached static version of a dynamic page ?

For example lets say index2.php is dynamic, pulling many data from a database.
Now I want something, that would copy the outpout to a static index.php page every 30 minutes, to reduce server load and page load when the user visits index.php.

Is this ever possible ?
Thanks,
Benj
Benj is offline   Reply With Quote
Old 05-04-2003, 02:04 PM   Postid: 87418
phppete
Registered User
 
phppete's Avatar

Forum Notability:
238 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: May 2003
Posts: 1,489
Yes you can do it, not sure why you would do it every 30 minutes, seems a little excessive. You could run it as a cron job. Here are some references and tutorials:

http://www.phpfreaks.com/tutorials/29/1.php

http://www.zend.com/zend/tut/tutorial-staub2.php

http://www.zend.com/zend/art/scriptcaching.php

HTH

Pete
phppete is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:20 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.