3S Caching System
The easy way to cache your strategic data (API results, PHP arrays, variables...)
Features
- Caching API results (YouTube, Facebook, Twitter...).
- Cache XML, json, PHP arrays, variables, HTML...
- 3 types of storages: SQLite, Files or MySQL.
- Define how long to cache a data width an expire period.
- One of the most easy ways to start caching data !
Benefits
- Speed up your website.
- Cache strategic data.
- Reduce your API calls.
- You have the control over what to cache.
Quick overview
Cache a data:
$c1 = new Yp_cache();
$c1->cache_set(array('key'=>'123', 'data'=>$data, 'expire'=>'120'));
Get a cached data:
$data = $c1->cache_get(array('key'=>'123'));
print_r($data);
Delete a cached data:
$c1->cache_delete(array('key'=>'123'));
Delete all cached data:
$c1->cache_flush();
Powered by
Yougapi Technology