Concrete5 Cache not working

Permalink
Hello,

I have a custom built concrete5 website and the cache settings are not saving at all. I have updated it to 8.4.2 but it still won't save. When I set cache on and click save cache won't turn on but it says it has been updated. I am not sure what to do?

 
JohntheFish replied on at Permalink Reply
JohntheFish
The cache settings are stored in /application/config/generated_overrides/concrete.php . Have a look in there and see what the actual saved values are.

Also, check that file and that the directory are both writable by the web server.
labber replied on at Permalink Reply
Hi JohntheFish

I have actually done that turned the config cache array to true but its still not working. I will check the directory permissions.
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
If the respective cache flags there are set, the core should be following whatever they say, or at least trying to. The fact they are already set means the cache settings save dialog is succeeding.

Next check should be the directory permissions on /application/files/cache and subdirectories. They need to be writable by the web server and should be accumulating files in the various subdirectories according to what gets cached.

You should also see cached block data appearing in the database table.column Blocks.btCachedBlockRecord

One other thought - blocks and pages may not be cacheable while you are logged in. So logout or also run a logged out browser and check again.
labber replied on at Permalink Reply
Hi JohntheFish

I tried all the steps above its still not working, i made the directory writable, readable executable search but still nothing.
JohntheFish replied on at Permalink Reply
JohntheFish
Do you have the full developer/debug enabled from the dashboard?
Are any Whoops traces showing on the site or in the log?