minad / rack-esi

Unmaintained: An implementation of a small (but still very useful!) subset of ESI for Rack
Other
7 stars 2 forks source link

Rack::ESI

Rack::ESI is an implementation of a small (but still very useful!) subset of ESI.

It allows you to easily cache everything but the user-customized parts of your dynamic pages without leaving the comfortable world of Ruby when used together with Ryan Tomayko's Rack::Cache.

Currently Supported Expressions

Examples

rackup examples/basic_example_application.ru

With Rack::Cache:

rackup examples/basic_example_application_with_caching.ru

TODOs and FIXMEs

rake notes        # Show TODOs and FIXMEs
rake notes:fixme  # Show FIXMEs
rake notes:todo   # Show TODOs