Welcome Guest, Not a member yet? Register   Sign In
How to specify a custom prefix for cache
#1

Hello,

How to specify a custom prefix for cache

Code:
$this->output->cache(5);
Reply
#2

The output cache has a directory path in which the output files are stored and the file names are based on a hash of the full URI.

What are you trying to do?
Reply
#3

I need to add custom data to prefix from session
Reply
#4

I did change the language on the site through the session. Accordingly, the URL of the page I have the same and copied only one version. To do this, I need to add the language identifier of the session to the prefix
Reply
#5

What you're trying to do isn't really compatible with the output cache (unless you change your URL with the language). You should probably use the caching library, instead.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB