Yes,
In the cache_handler.php I've done the following (Example)
In the function JRE_cache_handler (actual the class constructor) I've put the following setting for the cookie:
if (!isset( $_COOKIE["test_cookie"])) {
setcookie("test_cookie", "COOKIE WAARDE", time() ,"/");
$_COOKIE["test_cookie"] = 'my value';
}
Make sure that you also use the $_COOKIE["test_cookie"] = 'my value'; because the value must be checked on the first request in the cache handler.
Then I've put "test_cookie" into the JRE cache configuration field "Cookies to support:"
And the first output request is then from the debug file:
URL request: /
Cached cookie: test_cookie value: my value
Saving compressed cache file
Generated cache file: 7b06275ff9c79b86a6371a59a63d5922865b56fc
File size: 7.3 Kb
Output is compressed send to the browser
Generation time:1.3107779 sec.
--------------------------------------------------------------------------------
This means that the value of the cookie is included within the cache hash calculation meaning that there is a unique cached page based on the cookie value.
regards,
Richard