soundintheory / fuel-cmf

A CMF for rapid web application development, built upon FuelPHP and Doctrine ORM
8 stars 0 forks source link

Page caching #6

Closed andyjwwhite closed 11 years ago

andyjwwhite commented 11 years ago

Page caching options should be defined in either the controller or the view class.

At the point of serving cache the Doctrine ORM should remain unloaded, so an array of related table names will need to be specified for the system to work. As the 'updated_at' field exists in every model, the system can then use one single query for all the given tables to establish the last modified date and compare against the 'If-Modified-Since' header.