cancel
Showing results for 
Search instead for 
Did you mean: 

cannot purge cache

SOLVED

cannot purge cache

Hello, I am using Magento 1.9.3 .

 

I am trying to purge my cache, to solve some issues, but I am not getting it

 

I have cache disabled at the admin, but still , there are some directories and files at my var/cache

I try to delete rm -fr * but it lloks like Magent re-creates files and directories:

Is it normal that Magento re-creates them all the time, no way to have the var/cache empty?

Thanks

__________________
-bash-4.2$ rm -fr *
-bash-4.2$ ls -altrhR
.:
total 24K
drwxrwxrwx 4 u532788293 u532788293 4.0K Sep 13 17:03 ..
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 mage--f
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 mage--c
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 mage--8
drwxrwxrwx 6 u532788293 u532788293 4.0K Sep 13 17:32 .
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 mage--4

./mage--f:
total 16K
-rw------- 1 u532788293 u532788293  130 Sep 13 17:32 mage---internal-metadatas---241_DB_PDO_MYSQL_DDL_log_visitor_info_1
-rw------- 1 u532788293 u532788293 2.5K Sep 13 17:32 mage---241_DB_PDO_MYSQL_DDL_log_visitor_info_1
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 .
drwxrwxrwx 6 u532788293 u532788293 4.0K Sep 13 17:32 ..

./mage--c:
total 16K
-rw------- 1 u532788293 u532788293  130 Sep 13 17:32 mage---internal-metadatas---241_DB_PDO_MYSQL_DDL_log_url_info_1
-rw------- 1 u532788293 u532788293 1011 Sep 13 17:32 mage---241_DB_PDO_MYSQL_DDL_log_url_info_1
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 .
drwxrwxrwx 6 u532788293 u532788293 4.0K Sep 13 17:32 ..

./mage--8:
total 16K
-rw------- 1 u532788293 u532788293  130 Sep 13 17:32 mage---internal-metadatas---241_DB_PDO_MYSQL_DDL_log_url_1
-rw------- 1 u532788293 u532788293 1.1K Sep 13 17:32 mage---241_DB_PDO_MYSQL_DDL_log_url_1
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 .
drwxrwxrwx 6 u532788293 u532788293 4.0K Sep 13 17:32 ..

./mage--4:
total 16K
-rw------- 1 u532788293 u532788293  117 Sep 13 17:32 mage---internal-metadatas---241_CORE_CACHE_OPTIONS
drwxrwxrwx 6 u532788293 u532788293 4.0K Sep 13 17:32 ..
-rw------- 1 u532788293 u532788293  196 Sep 13 17:32 mage---241_CORE_CACHE_OPTIONS
drwxrwxrwx 2 u532788293 u532788293 4.0K Sep 13 17:32 .
_______________________

1 ACCEPTED SOLUTION

Accepted Solutions

Re: cannot purge cache

Yes, this is normal. There are still some settings that need to be cached by Magento. In your instance it is caching the connection to store the user/visitor logs and the core configurations.

edit: if you really want to run with 0 cache then change the permissions on those folders so that the user which your magento instance runs with doesn't have access.

If my answer helps you solve your problem don't forget to accept it as a solution.

View solution in original post

1 REPLY 1

Re: cannot purge cache

Yes, this is normal. There are still some settings that need to be cached by Magento. In your instance it is caching the connection to store the user/visitor logs and the core configurations.

edit: if you really want to run with 0 cache then change the permissions on those folders so that the user which your magento instance runs with doesn't have access.

If my answer helps you solve your problem don't forget to accept it as a solution.