Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Create static site from MySQL database?
Post Body

I may just be thinking about things wrong but, maybe someone can help me with this. I have a client who has a website where they list upcoming events in the area and whenever they start getting a lot of traffic, it throws a bunch of MySQL errors because it wasn't built well and it pounds the database. They are only updating the listings about once a day and doing it through a crappy, custom-built CMS.

My thinking is that I could use cron or a button in the CMS to call a static site generator like Phrozn, which would query the database once and create the main page of the site but, I haven't been able to find any info on doing something like that; it seems like most static site generators are meant to read text files.

So, I guess my question is: is there a way to do what I've described or am I approaching it from the wrong angle? I'll most likely be re-writing the site regardless, I'm just looking for the most efficient way to do so.

Author
User Suspended
Account Strength
0%
Suspended 4 months ago
Account Age
14 years
Verified Email
Yes
Verified Flair
No
Total Karma
594
Link Karma
1,548
Comment Karma
23,499
Profile updated: 5 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
11 years ago