Apache dynamic page caching?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Are there any existing method for Apache which can do the followings?

E.g.

When a user first go to a page, www.example.com/article.php?id=123, my
PHP problem will
generated a static copy of HTML under a temp folder (e.g.
/tmp/article/md5(123).html), so following requests to the
page will not require SQL query, and my PHP will fetch the page from
cache directly.

However, given that Apache fetch a static page is faster the PHP, are there
any method for apache to look up the cache folder, and if exist, it
will skip the
PHP and fetch the page directly?

The trick I think is during URL rewrite, how to MD5() the query string
and map into
a file name.


Thanks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux