xoops forums

naish

Just popping in
Posted on: 2003/10/31 9:34
naish
naish (Show more)
Just popping in
Posts: 21
Since: 2003/6/10
#1

A full page cache

A thing that I find is missing from XOOPS is a full-page cache.

It would be nice if we could set a module to cache the complete html-page instead of just its parts.

Of course this could only work for GET requests, but it has the possibility of speeding up XOOPS by a large order of magnitude.

Preliminary tests indicate that XOOPS can do about 14.4 MB/s of html, versus almost 50 MB/S with a "hacked cache" on the same machine.

I would like to know what people think of such a cache?

Herko

XOOPS is my life!
Posted on: 2003/10/31 10:21
Herko
Herko (Show more)
XOOPS is my life!
Posts: 4238
Since: 2002/2/4 1
#2

Re: A full page cache

Doesn't the 'module wide cache' feature in the general settings page of the sute preferences in the system admin do this as well? If not, I think the option would be a very good one for sites with many visitors and articles.

Herko

onokazu

XOOPS Founder
Posted on: 2003/10/31 10:48
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#3

Re: A full page cache

We might be adding this feature in the future versions using Apache mod_rewrite, still on the planning phase, though.

naish

Just popping in
Posted on: 2003/11/4 13:12
naish
naish (Show more)
Just popping in
Posts: 21
Since: 2003/6/10
#4

Re: A full page cache

Okay how is it supposed work and will it be a general solution for all platforms?

I would like more info as our team needs a full page cache by January 1st.

Otherwise we are going to look into solving this problem.

How about it?

Herko

XOOPS is my life!
Posted on: 2003/11/4 14:51
Herko
Herko (Show more)
XOOPS is my life!
Posts: 4238
Since: 2002/2/4 1
#5

Re: A full page cache

I guess what Kazu said that the devs are still pondering the problem, and looking for good ways to solve/add this. Also, using apache mod_rewrite isn't platform friendly (apache only), so that would not work for all platforms. If you need this feature by december 31st, I think the best way is to look into this yourself.

Herko

naish

Just popping in
Posted on: 2003/11/5 12:58
naish
naish (Show more)
Just popping in
Posts: 21
Since: 2003/6/10
#6

Re: A full page cache

Sure, I will dig into it, it doesn't seem that hard. Especially because I have working code to copy from.