Welcome Guest, Not a member yet? Register   Sign In
Enable Browser Caching in Codeigniter 3
#1

Hello,

after upgrading from CI 2 to CI 3 using http://www.codeigniter.com/userguide3/in...e_300.html as instruction, I'm currently having the following issue.

In CI 2 I could use the Back button of the browser to navigate to the last page. The page was fetched from Browser Cache, so text in a textarea is still there.
In CI 3, however, when pressing the Back button the page will be loaded from server.

I tried several things, but none seems to be working correctly.

- In HTML header, set meta tag with " cache-control max-age = 60 "
- Enabled webpage Caching (https://www.codeigniter.com/userguide3/g...ching.html). This caches the page, however, new posts in my forum won't be displayed this way.
- In config.php, changed "sess_driver" from database to files and enable "pconnect" + "cache_on" in database.php
- Disabled PHP boost in my STRATO control panel.


Do you have an idea how to solve this problem?
Reply


Messages In This Thread
Enable Browser Caching in Codeigniter 3 - by StevePINA - 08-21-2016, 08:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB