Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Re: Database driven web content: live or tape?

by Fastolfe (Vicar)
on Jul 20, 2002 at 02:16 UTC ( #183532=note: print w/replies, xml ) Need Help??

in reply to Re: Database driven web content: live or tape?
in thread Database driven web content: live or tape?


I would definitely endorse this type of setup for a major project. There's little sense in building your own proprietary caching mechanism when HTTP already has one built into it.

Create your application such that it builds dynamic pages, and makes use of HTTP headers to identify how long a resource should be cached (if it should be). Then funnel all of your inbound traffic through a fast caching HTTP proxy server.

I have also seen approaches where the document root of the web server is actually an on-disk cache. A missing file would generate a call to a 404 handler which invokes the CGI or back-end process (maybe a "real" web server--behind another firewall maybe--that generates content) to generate the page (and perhaps caching it in the document root for future use by the web server).

  • Comment on Re: Re: Database driven web content: live or tape?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://183532]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2023-01-30 12:06 GMT
Find Nodes?
    Voting Booth?

    No recent polls found