[eluser]ckissi[/eluser]
Hello,
I tried cache but it doesn't work for me as it should.
Here is my config:
Code:
$config['uri_protocol'] = "AUTO";
$config['enable_query_strings'] = TRUE;
$config['directory_trigger'] = 'd';
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
I use mod_rewrite so my URL : index.html is rewrited to index.php?c=homepage&m=homepage_show
When I cache this page, every page I access on my site will return the same home page that was just cached.
I tried to go through code and found this in
system/libraries/output.php:
Code:
$uri = $CI->config->item('base_url').$CI->config->item('index_page').CI->uri->uri_string();
I made a little test and my
CI->uri->uri_string() is empty ... so every page is cached as /index.php and query_string is simply ignored so :
index.php?c=homepage&m=homepage_show is cached as index.php
and every other page is also cached as index.php