Welcome Guest, Not a member yet? Register   Sign In
Ideas for an improved Query Caching solution.
#12

[eluser]Maks Baum[/eluser]
And what about changin application / cache_database / controller_based / controller + function / md5hash
becouse in DB_cache we see : $uri .= ($this->CI->uri->segment(2) ...
And look:
We got a news site, we can read news under... domain.com/news/1234 where 1234 is news id
In routers we map /news/[num] into news/show_news/[num] so every cache made from DB it stores in folders under cache/ .. cache/news/1234 cache/news/1235 cache/news/1236 and when we cache in all this pages additional DB query which we want to have then its stored in different folders, so every time data is taken from DB
So instead of makin /cache/news1234 I think it should take the /cache/show_news/ - method name != second uri segment always.


Messages In This Thread
Ideas for an improved Query Caching solution. - by El Forum - 04-28-2008, 05:16 PM
Ideas for an improved Query Caching solution. - by El Forum - 04-28-2008, 05:54 PM
Ideas for an improved Query Caching solution. - by El Forum - 04-29-2008, 06:16 AM
Ideas for an improved Query Caching solution. - by El Forum - 04-29-2008, 06:50 AM
Ideas for an improved Query Caching solution. - by El Forum - 04-29-2008, 06:59 AM
Ideas for an improved Query Caching solution. - by El Forum - 04-30-2008, 12:12 PM
Ideas for an improved Query Caching solution. - by El Forum - 04-30-2008, 06:08 PM
Ideas for an improved Query Caching solution. - by El Forum - 04-30-2008, 06:54 PM
Ideas for an improved Query Caching solution. - by El Forum - 05-01-2008, 09:57 AM
Ideas for an improved Query Caching solution. - by El Forum - 05-01-2008, 11:05 AM
Ideas for an improved Query Caching solution. - by El Forum - 05-02-2008, 07:59 AM
Ideas for an improved Query Caching solution. - by El Forum - 05-30-2008, 09:26 AM
Ideas for an improved Query Caching solution. - by El Forum - 06-01-2008, 01:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB