Quote:> Uggh. It really sounds like you want to overcomplicate your life.
> I am relatively confident that there are simpler ways of handling
> your problem, but since you don't really specify what your problem is,
> I obviously can't give any details. I would consider going to
> a full scripting language like PHP which can be very fast compared
> to CGI scripts and will be much more flexible that any jurry-rigged
> RewriteMap setup.
Yes, this solution sounds ugly... I'll describe the problem better:
I have a site with a lot of news and articles. News are inserted hourly
and articles twice a day and there is about 60.000 pageviews a day. In
the footer of all pages is displayed the result of a search for related
articles and news... The database (that's being used by other sites too)
takes some time to make all the queries necessary to generate the pages,
and each page will be viewed a lot of times. In another site like this
one I made a system that generated static pages from a database if the
page does not exists, using a 404 handler. The solution I used in the
other site would do good, but every time an article is inserted, I'd
have to delete all the pages because of the search in the bottom of the
page. While there are hundreds of different pages, there are about 30
different footers, so I'd like all the pages to be .shtmls that includes
the footers, so when I insert a page, I have to delete only the footers.
I've used PHP a lot and I like it, but I've already crashed this server
because semi-static pages where re-generated every request...
When I said "depends on user", I should have said "changes every time",
sorry if I confused you :-).
Thanks,
[]s
PS: I planned the system this way based on Vignette, that's being used
here to serve about 2.500.000 dynamic pages/day with a system much like
this (but I can't use it in this site).
Sent via Deja.com http://www.deja.com/
Before you buy.