2

I want to stop caching in CS-CART (mainly for API), because if vendor changes something then in api it didn't reflect immediately.

Right now i am using File level caching.

$config['cache_backend'] = 'file';
$config['cache_redis_server'] = 'localhost';
$config['cache_redis_global_ttl'] = 0;

I searched a lot but no success, i also tried with

$config['smarty_caching'] = 0 ;

in config.php but also no success.

ajaykumartak
  • 776
  • 9
  • 29

2 Answers2

1

from cs cart reference

Disable PHP block caching

$config['tweaks']['disable_block_cache'] = true;
Abdullah Tahan
  • 1,963
  • 17
  • 28
0

There is no ability to disable cache at all. You are only able to disable block cache for the frontend.

if vendor changes something then in api it didn't reflect immediately. Cache should be invalidated immediately.

What's your CS-Cart version?