TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
ORM::cached() won't work
  • I got setup everything right, caching inside Kohana::init is true, reload_on_wakup inside model is false and caching ORM still won't work, I mean, it creates instance of filled file but when tried to load this cached file, it executes new query instead, like cache time expired, Kohana 3.3.1, Linux x64, php 5.4
  • sovled, I was overriding _load_result and using there time() as parameter of query, that was the problem

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion