Caching


Transformations can be slow, so AxKit uses a cache

  • Cache uses the filesystem, not memory or DBM files
  • Cache results of transformation pipeline, where appropriate
  • Cache results of dynamic processing by implementing has_changed() method
  • Using filesystem allows Apache to deliver the cache directly:
    Apache->request->filename = <cache-file>;
    return DECLINED;
         
(borrowed from Matt Sergeant's slides)


33 Next | First| Previous Practical XML under Apache