in reply to What's the best way to cache dynamic web content?

Caching at the HTTP level is much more efficient. If you publish your data as static files, you allow the web server to work in the most efficient way possible. You can also use a caching proxy like apache's mod_proxy module.

Caching in the application gives you more control, and allows you to cache just a part of a page instead of the entire thing. I would recommend you look at Cache::FastMmap instead of Cache::Cache, because it's much faster.

  • Comment on Re: What's the best way to cache dynamic web content?

Replies are listed 'Best First'.
Re: Re: What's the best way to cache dynamic web content?
by samtregar (Abbot) on May 10, 2004 at 17:13 UTC
    Say, how much faster is Cache::FastMmap than the other available cache modules on CPAN? That sounds like a good topic for an article...

    -sam

      Yeah yeah.... I have to finish my talk for YAPC first, because it's only about a month away. But, FYI, it's about 7 times as fast.