RE: Dynamic content that is static

2000-12-28 Thread Christian Gilmore
PROTECTED] Subject: Dynamic content that is static Hi everyone, I have been going over the modperl tuning guide and the suggestions that people on this list sent me earlier. I've reduced MaxClients to 33 (each httpd process takes up 3-4% of my memory, so that's how much I can fit without swapping

Re: Dynamic content that is static

2000-12-25 Thread Joshua Chamas
Apache::ASP has a cgi/asp script in the distribution that I use to generate apache-asp.org and chamas.com. Its a bit rough but works for static HTML generation from ASP scripts. Also you can consider using a combination of mod_proxy and specific headers like Expires to cache your content for

Re: Dynamic content that is static

2000-12-23 Thread Matt Sergeant
On Fri, 22 Dec 2000, Philip Mak wrote: I realized something, though: Although the pages on my site are dynamically generated, they are really static. Their content doesn't change unless I change the files on the website. (For example, http://www.animewallpapers.com/wallpapers/ccs.htm depends

Re: Dynamic content that is static

2000-12-23 Thread barries
On Fri, Dec 22, 2000 at 09:51:55PM -0500, brian d foy wrote: however, i have been talking to a few people about something like a mod_makefile. :) I've used this approach succesfully on a lower volume site where the it was taking lots of time to build the final HTML but the data sources

Dynamic content that is static

2000-12-22 Thread Philip Mak
Hi everyone, I have been going over the modperl tuning guide and the suggestions that people on this list sent me earlier. I've reduced MaxClients to 33 (each httpd process takes up 3-4% of my memory, so that's how much I can fit without swapping) so if the web server overloads again, at least

Re: Dynamic content that is static

2000-12-22 Thread G.W. Haywood
Hi there, On Fri, 22 Dec 2000, Philip Mak wrote: I realized something, though: Although the pages on my site are dynamically generated, they are really static. You're not alone. Does anyone have any suggestions on how to implement this? Is there an existing tool for doing this? How can I

Re: Dynamic content that is static

2000-12-22 Thread Edward Moon
Not necessarily. You can use mod_proxy to cache the dynamically generated pages on the lightweight apache. Check out http://perl.apache.org/guide/strategy.html#Apache_s_mod_proxy for details on what headers you'll need to set for caching to work. On Fri, 22 Dec 2000, Philip Mak wrote: Hi

Re: Dynamic content that is static

2000-12-22 Thread Philip Mak
On Fri, 22 Dec 2000, Edward Moon wrote: Running a non-modperl apache that proxies to a modperl apache doesn't seem like it would help much because the vast majority of pages served require modperl. Not necessarily. You can use mod_proxy to cache the dynamically generated pages on the

Re: Dynamic content that is static

2000-12-22 Thread brian d foy
On Fri, 22 Dec 2000, Philip Mak wrote: So, it would probably be more efficient if I had a /src directory and a /html directory. The /src directory could contain my modperl files and a Makefile that knows the dependencies; when I type "make", it will evaluate the modperl files and parse them

Re: Dynamic content that is static

2000-12-22 Thread Dave Seidel
I realized something, though: Although the pages on my site are dynamically generated, they are really static. Their content doesn't change unless I change the files on the website. (For example, http://www.animewallpapers.com/wallpapers/ccs.htm depends on header.asp, footer.asp,

Re: Dynamic content that is static

2000-12-22 Thread Dave Rolsky
On 22 Dec 2000, Dave Seidel wrote: I don't know if either Mason or Embperl offer static compilation, but Mason has caching and I believe that Embperl is getting caching.AxKit is also very cool, and caches. Using Mason to generate a set of HTML pages would not be too terribly

Re: Dynamic content that is static

2000-12-22 Thread John Michael
ber 22, 2000 9:28 PM Subject: Re: Dynamic content that is static On 22 Dec 2000, Dave Seidel wrote: I don't know if either Mason or Embperl offer static compilation, but Mason has caching and I believe that Embperl is getting caching. AxKit is also very cool, and caches. Using Mason to generate

Re: Dynamic content that is static

2000-12-22 Thread Edward Moon
You should check out the documentation on mod_proxy to see what it's capable of: http://httpd.apache.org/docs/mod/mod_proxy.html You can specify expiration values and be assured that cached files older than expiry will be deleted. So, for example, if you know that your content gets updated

Re: Dynamic content that is static

2000-12-22 Thread Bill Moseley
At 09:08 PM 12/22/00 -0500, Philip Mak wrote: I realized something, though: Although the pages on my site are dynamically generated, they are really static. Their content doesn't change unless I change the files on the website. This doesn't really help with your ASP files, but have you looked at

Re: Dynamic content that is static

2000-12-22 Thread Ask Bjoern Hansen
On Fri, 22 Dec 2000, Philip Mak wrote: Running a non-modperl apache that proxies to a modperl apache doesn't seem like it would help much because the vast majority of pages served require modperl. Not necessarily. You can use mod_proxy to cache the dynamically generated pages