This caching system has been constructed to have the ability to cache API requests (coming from Fb, Twitter, YouTube and so on, that usually returns json outcomes or XML outcomes). It may also be used to cache PHP knowledge (like huge SQL outcomes, arrays, json, and so on).
The 3S stands for three storage. This merchandise can use three kinds of completely different storages: SQLite, file system and MySQL.
– Caching API outcomes (YouTube, Fb, Twitter)
– Can cache XMLs, json, PHP arrays, variables and even HTML .
– three kinds of storages: SQLite, Information or MySQL.
– No configuration if used with the file system or SQLite.
– Configuration in lower than 2 minutes if used with MySQL.
– Outline for a way lengthy a knowledge needs to be cached.
– Extraordinarily straightforward to make use of in your present web site.
– Pace up your web site by caching strategic knowledge.
– Keep away from being rejected by API suppliers by limiting requests.
Cache a knowledge for 120 seconds:
$c1 = new Yp_cache();
$c1->cache_set(array(‘key’=>‘123’, ‘knowledge’=>$knowledge, ‘expire’=>‘120’));
Get a cached knowledge:
$knowledge = $c1->cache_get(array(‘key’=>‘123’));
Delete a cached knowledge:
Delete all cached knowledge:
DESCRIPTION Android Materials UI Template is instance implementation materials design in varied app. This UI template present builders simple solution to […]
About this recreation… Little pigs are on the free and all misplaced. Assist them to search out their dwelling. This recreation […]
Each iOS and Android model can share the identical Parse database 25 Might 2018 • Accordingly to the brand new EU […]
Archery with AdMob and Leaderboard. You’ve got 20 arrows. If all of your pictures can be wonderful you’re going to get […]
Superior Battery Saving Utility Battery Saver Plus is the most effective battery saving software within the android software world. We’ve got […]
The Nation is a full iOS template written in Swift language that can assist you create a multi-functional app. App comes […]