Skip to content

Caching MySQL SELECT queries for OpenCart 1.4.x/1.5.x

Notifications You must be signed in to change notification settings

UncleAndy/opencart-mysql-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

OpenCart 1.4.x/1.5.x compatible!

1. Copy mysql_cached.php file into the /system/library/database
2. Change /config.php file only:

  define('DB_DRIVER', 'mysql_cached');
  define('DB_CACHED_EXPIRE', 120);

3. For reset SQL cache, you can save in cache with key 'sql_globalresetcache' current time (time()).


// Ask the question:
http://forum.opencart.com/viewtopic.php?t=28251

// Ukrainian support:
http://forum.opencart.ua/viewtopic.php?f=5&t=79

About

Caching MySQL SELECT queries for OpenCart 1.4.x/1.5.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published