Welcome Guest, Not a member yet? Register   Sign In
Cache problem
#1

[eluser]Moddi[/eluser]
I have got complain that my site is demanding information from a different database too much so what i did was to add this code:

Code:
$this->output->cache(n);
Where N i have currently 1000, so it will only update every 16 hours

But the problem is that now when i try to search for tyres its only showing me the cached view, not showing me the correct value.

Here's the site

Now try to change tyre size, from 195 / 65 / 15 to anything of the options available. Look whats happening, it still showing the cached view and not loading the correct information/site.

Also added the code to cart controller, and its doing the same, showing incorrect value.

Is there a better way to make this work?

EDIT: I had to remove the cache code cause its blocking customers to search and u cant see it live anymore!


Messages In This Thread
Cache problem - by El Forum - 03-01-2010, 06:21 AM
Cache problem - by El Forum - 03-02-2010, 12:12 AM
Cache problem - by El Forum - 03-02-2010, 10:44 AM
Cache problem - by El Forum - 03-02-2010, 11:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB