Create web pages for devices, drivers and locations
Bug #614875 reported by
Sam Dieck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wifix |
New
|
Wishlist
|
Unassigned |
Bug Description
Sourceforge Feature Request ID: 1886966
Submitted: wifish - 2008-02-05 04:07:51 PST
Web pages should be generated once per day, displaying a listing of device ids and links to the respective drivers.
Static web pages (HTML) should be generated using a cron job. Polling the database results in an unnecessary load on the server, as the database is updated somewhat infrequently; this job can run right after the DB is updated when checking for dead driver links.
description: | updated |
To post a comment you must log in.
A simple php script that does a simple time cache would suffice for this.
When queried for the first time, it could save (in a flat file) either the time it was queried or the time + 24 hours. When it needs to generate and someone lands on the page, it could query the db and output html. During the time that it doesn't need to talk to the database, it could just include the created html file.
This would eliminate the need to play with cron jobs, though I think that either way would work just as good.