tags:

views:

174

answers:

2

I've asked this question all over the web, but nobody has replied so far.

I have a Cake app on a live server. The problem is everything seems to be cached.

Let's say you're on the index page, hit "delete" link to delete a record, and you're redirected back to the index. The "deleted" record is still shown. If you hit the refresh button, the record is no longer shown and the flash message appears.

And it's like this all over the site.

I've disabled caching in config/core.php, sessions are pure cakephp (works the same with database and php sessions), debug is 0.

Server is PHP5.

Any idea is welcome!

+1  A: 

What is your browser? I use Opera and I admit it doesn't manage the cache the way I'd want it to. I have to refresh, while Firefox works perfectly (or at least reload the page the way I'd expect it to while I'm debugging)

A: 

(from twitter @IvanBernat) have you tried to add meta tag for killing browser cache? use firebug and see if browser get 304 code for your file

Yes, didn't work.
IvanBernat