Hey man, could you help me on this?
It is an example of client side cache control, which I think would be great for CodeIgniter. Well, I don’t care about the credits. If you do a good job on this, as you did in the library above, I will be plenty satisfyed with a new good add-on for our loved framework.
I tested my example and it works, but it is just a test, it is not ready for CodeIgniter. Also it have a problem with Internet Explorer. When you try to reload an updated page, the browser should discard the page in its cache and loads the new page from the server cache. In Firefox this is working fine, but in IE it is always getting an 304 Not Modified header. I did not figure out what is wrong, so more testes must be made. Maybe another HTTP header related to expire date must be sent to IE in order to this work, I don’t know.
Also, I would like to hear your opinion on this issue:
Should we extend the database library to get a non-private function for $this->db->_fetch_assoc() or $this->db->_fetch_object() and use them in our views? But the User Guide says that the Database classes can not be extended or replaced… What can we do?