```ruby
require 'mustache'

class MustacheView < Mustache
  def partial(name)
    File.read("#{template_path}/#{name}.#{template_extension}")
  end
end
```

Add naive caching to partials
user
```ruby
require 'mustache'

class MustacheView < Mustache

  def initialize
    super
    @partial_cache = {}
  end

  def partial(name)
    @partial_cache[name] ||= File.read("#{template_path}/#{name}.#{template_extension}")
  end
end
```
assistant