XaminProject / handlebars.php

Handlebars processor for php
331 stars 132 forks source link

Add APC cache #8

Closed joeybaker closed 11 years ago

joeybaker commented 11 years ago

2nd of the day :)

Add an APC cache type

joeybaker commented 11 years ago

Just added a fix so that the 'prefix' option on the template loader works with sub directories

everplays commented 11 years ago

I'm pretty sure that currently the cache is uselss in code. it tries to use the cache here but nowhere in code Handlebars_Cache::set is being called. it's simple to add the Handlebars_Cache::set inside this if but how Handlebars_Cache::remove will be called?

@fzerorubigd do you have any plan to complete the caching?

fzerorubigd commented 11 years ago

@everplays I add set method in c550491841b8ae4e7c2fe0727b59d82039f73aff I think now we can merge this.

fzerorubigd commented 11 years ago

Thankyou @joeybaker

joeybaker commented 11 years ago

Cheers.