Ticket #116 (closed documentation issue: fixed)

Opened 6 months ago

Last modified 5 months ago

Create a cache layer usable by all view engines

Reported by: mikey Assigned to: mikey
Priority: major Milestone: 0.4.0
Component: core Version: SVN-trunk
Keywords: Cc:

Description

There needs to be a cache layer usable by all view engines. The cache layer should be able to cache whole HTML pages to save regeneration of pages if not necessary.

Change History

12/03/07 21:49:19 changed by mikey

  • status changed from new to assigned.

Changeset 1099 contains some initial thoughts for this.

12/06/07 15:59:58 changed by mikey

Changeset 1121 added support for the website cache in the front controller.

12/06/07 16:36:37 changed by mikey

A default website cache factory was added with changeset 1122.

12/07/07 17:14:35 changed by mikey

Base implementation finished by adding various unit tests with changesets 1123, 1129 and 1130.

Still todo: reference implementation and documentation.

12/11/07 12:21:31 changed by mikey

Reference implementation added with changeset 1136: net::stubbles::websites::memphis::stubMemphisProcessor now makes optionally use of the website cache.

Still todo: think about allowing the website cache to return a different stubResponse instance from its retrieve method. This would allow an fpassthru() on the cache files containing the complete site. Another todo: documentation.

12/13/07 15:42:38 changed by mikey

Changeset 1140 introduced the possibility to deny caching of a page from a page element.

12/13/07 15:58:40 changed by mikey

  • type changed from enhancement to documentation issue.

While a switch of the stubResponse instance itself would be possible it is not possible to use the fpassthru() function in the stubGzipWebsiteCache because the stubGzipWebsiteCache does only use a stubCacheContainer instance to put and get contents to and from the cache without knowing whether this is a file cache or a database cache or any other cache.

Therefore: implementation finished, requires documentation now.

12/17/07 17:30:31 changed by mikey

  • status changed from assigned to closed.
  • resolution set to fixed.

Documentation created, see caching whole sites.