How to specify a custom prefix for cache |
Hello,
How to specify a custom prefix for cache Code: $this->output->cache(5);
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?
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
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.
|
Welcome Guest, Not a member yet? Register Sign In |