Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP Maintenant |
|
Author |
|
Thog
Joined: 12 Feb 2007 Posts: 75 Location: Montreal
|
Posted: Wed 19 Dec '07 18:38 Post subject: PHP Maintenant |
|
|
I have some maintenance code on all my sites. This runs automatically (if needed) after the script has finished processing. I like this ideas better then having a separate chron running.
Is it possible to get php to get apache to send the (finished sending data) and just keep processing in the background whatever needs to be processed instead of having the page not finished loading cause it's running some process in the background... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 19 Dec '07 19:07 Post subject: |
|
|
1) you should split your page into different parts. Like a footer / header / etc.
Than you can a) include the files in the page. Works only if only the content is different but the page layout is the same.
b) store the content and / or the footer / header in a database. Which is easier to maintain.
2) create static pages with cache so you can maintain and the pages won't loose the preformance.
just my 2 cents |
|
Back to top |
|
|
|
|
|
|