I want to write a new storage type...
It's simple! All you need to do is create a new file, name it pagecache.method.php (where method is the name of your backend), and put it in the /components/com_pagecache/backends folder. PageCache will automatically recognize it! Now, there are a few things that the file MUST have. First, it must have a class called pagecache_backend which extends pagecace. Second, the pagecache_backend class must have a few methods. Those methods are as follows
And it's as easy as that! Check out some of the backends to see how they work in more detail!
|

