Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Phalcon cache - ajax request

Hi evryone,

I have little problem with cache. When I'm using ajax requests in my ControllerBase I have:

if ($this->request->isAjax())

this view doesn't cache - why? When I remove render level evrythink is ok. In controller action I have:

        "lifetime" => 86400,        
        "key"  => $this->cache_index

May I "force" cache for render level?


u can close this issue)