Welcome Guest, Not a member yet? Register   Sign In
[HELP] Cache system frustrating me?
#1

[eluser]howler[/eluser]
I am completely new to CI. I installed it with the Yet Another Smarty Thread patch via http://ellislab.com/forums/viewthread/60050/

I simply edited the default Welcome controller class to load the smarty template.

What's really annoying me is what I assume is the caching. I'll change the welcome.php or a template file and it *might* update the page on a refresh. Deleting the files in the cache folder does not seem to guarantee a fresh reload of the page. I'm also holding down SHIFT in firefox; still doesn't work. If I refresh the page, sometimes it's up to date. Other times I have to keep reloading and touching random files until it magically renders the latest version of the code. What's up with this? I'm making micro changes to welcome.php to see how the system works. Often I'll get a CI "error" message relating to a missing file; I'll fix the missing file but have to wait for a while to see that I've fixed it by refreshing numerous times.

I also get the same results without using smarty.

I've also set:
$this->output->cache(0); in the index() function.

The relative pathing is a bit frustrating for the tpl files, but that's another issue.


Messages In This Thread
[HELP] Cache system frustrating me? - by El Forum - 06-01-2009, 01:37 AM
[HELP] Cache system frustrating me? - by El Forum - 06-01-2009, 01:39 AM
[HELP] Cache system frustrating me? - by El Forum - 06-01-2009, 01:42 AM
[HELP] Cache system frustrating me? - by El Forum - 06-01-2009, 02:24 AM
[HELP] Cache system frustrating me? - by El Forum - 06-01-2009, 02:35 AM
[HELP] Cache system frustrating me? - by El Forum - 06-01-2009, 03:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB