Fork me on GitHub
Subscribe 2

Ticket #305 (fixed enhancement)

Add a proper cache layer

  • Created: 2011-02-22 12:42:44
  • Reported by: Reines
  • Assigned to: Reines
  • Milestone: 2.0-alpha1
  • Component: caching
  • Priority: high

We should add a proper cache layer to FluxBB, preferably based on php-cache wink

Requirements: driver abstraction.

Support: File, XCache, APC, Memcached. Include others, or leave as extras in resources area?

php-cache has some slightly funny class loading using Reflection which we might be able to get rid of for FluxBB, making it slightly tidier.

Filters allow compression, encryption, etc. Strip them out since FluxBB wouldn’t use them by default?

How aggressively should we cache? Maybe depends on the type of cache in use?

History

Reines 2011-02-22 12:43:24

  • Priority changed from normal to high.

Reines 2011-02-22 13:22:48

  • Description changed. (Diff)

Franz 2011-02-22 22:58:33

  • Type changed from enhancement to task.

Reines 2011-02-22 23:54:42

  • Type changed from task to enhancement.

Reines 2011-02-25 00:46:30

  • Milestone changed from 2.0-beta1 to 2.0-alpha1.

Reines 2011-03-19 20:49:01

  • Status changed from open to fixed.

I have now added in the new cache module and it seems to work fine. Some parts still need tidying up slightly, and there are probably various other things that could be cached, but they can become separate tickets - the main system is in place and working.

Franz 2011-04-23 12:12:36

How are the files protected from being read from the outside?

Reines 2011-04-23 14:35:59

At the moment they aren't - the cache folder should be placed somewhere outside the web root. Maybe smart to make another ticket to remind us to do so.