summaryrefslogtreecommitdiff
path: root/system/db/cache.go
AgeCommit message (Collapse)Author
2017-03-21JSON decoded val for int variants are float64 - need to cast after assertionSteve Manuel
2017-03-21adding cache-control age and disablerSteve Manuel
2017-01-16[core] Adding toggle for CORS, GZIP in admin/cms configuration (#30)Steve
This PR enables admins to disable/enable CORS and GZIP from within the admin CMS configuration page. Both are enabled by default. Note: currently, the GZIP implementation is 100% on the fly, for every qualifying API endpoint request. This could add significant CPU usage, but dramatically decreases bandwidth. Will be considering other better implementations, but for now YMMV. Possible optimizations: - pooling gzip Writers vs. creating a new one for each response - caching gzipped responses (in memory? on disk?) - enforcing size threshold (only gzip content larger than N bytes)
2016-12-19[addons] Creating foundation for plugin-like system "Addons" (#24)Steve
* adding addons dir and sample addon which enables the use of a new input element in forms for referencing other content. "addons" is a conceptual plugin-like feature, similar to wordpress "plugins" dir, but not as sophisticated
2016-12-11updating cache control header to be more lenientSteve Manuel
2016-12-11removing print debug for cache checkSteve Manuel
2016-12-11returning api server middleware to original state and adding req header ↵Steve Manuel
lookup for cache implementation
2016-12-07adding debug prints -- cache control not effecting json responsesSteve Manuel
2016-12-06initialize url.Values (map) prior to Add/SetSteve Manuel
2016-12-06checking if first pass through kv of config to call Set before AddSteve Manuel
2016-12-06tracking new fileSteve Manuel