Development > Feature Requests

cache blocks

<< < (2/2)

kak2z:
Who know what the news about the new version and caching?  :)

inter:
I cached my "php blocks" in "manually mode":

example:

your content (or your content in file) for your "php block":


--- Code: ---<?php

// your code ...

if (!($data = cache_get_data('your_index_cache')))
{
    // your code ...
    cache_put_data('your_index_cache', $data, 3600);
}

// your code ...

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version