Create cached get_api_data & refresh_api_data in simpleData
Stop revisionable items creating caches.
Add get_api_data methods to revisionable types
Simplify cache model to only use generate_api_data and get_api_data.
Rework API caching for programmes. Start moving main outputs to API model.
Hookup API, Make revision models static & handle none lives in Revisionble API's
Try errorcodes as 501 as more descriptive of actual issue (plus shows error page we can control)
Use arrays internally as json is no longer typecasting to objects when saving caches.
Add ability to output to XML if wanted. Laravel has no Response::xml
Remove legacy cache methods
Load external data by simpler method.
Actually use cache when getting data for API (previously used DB)
Clean tests better, remove dummy code.
Add 501 error page.
Stablise tests
Clean up a little
Add method to cache final output [deactivated]
Fix code to array cache.
Merge branch 'develop' of github.com:unikent/programmes-plant into feature/extend-api-capabilitys
Use filch for caching & add final output cache.