Created
July 16, 2014 16:27
-
-
Save j4k/d99024e8f29f5e658337 to your computer and use it in GitHub Desktop.
c5 cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Fetch the Feed object | |
| $jobsXML = simplexml_load_file('https://tsb-applications.advorto.com/candidate/vacancyfeed.aspx'); | |
| // Cache it as a JSON object | |
| Cache::set('jobs', false, json_encode($jobsXML), false); | |
| // Fetch the cached object | |
| $jobs = Cache::get('jobs', false); | |
| var_dump($jobs); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment