Jordi Torres
6333b1cb0a
First pass of clang tidy
...
Mainly caching else after return, not using empty() instead of size() == 0, missing const references to avoid copies and removing redundant initializations
2021-04-12 13:22:03 +02:00
Shehzan Mohammed
8a2957d32f
Run clang format
2021-03-08 20:39:46 -05:00
Marco Hutter
f1078aeb4c
Use bytes for raw data
2021-03-04 17:22:38 +01:00
Kevin Ring
2e42fd45fb
Adjust for recent changes in master.
2021-02-24 13:54:33 +11:00
Kevin Ring
b14aa5e292
Make ResponseCacheControl private.
2021-02-23 15:11:08 +11:00
Kevin Ring
e24f817b02
Add missing override.
2021-02-22 19:17:15 +11:00
Kevin Ring
aa95beea21
CacheItem cleanup.
2021-02-22 17:58:36 +11:00
Kevin Ring
1b8bbabf8e
Fix tests.
2021-02-22 17:33:24 +11:00
Kevin Ring
71df49a8d8
DiskCache class -> SqliteCache.
2021-02-22 13:37:58 +11:00
Kevin Ring
c46dc68bfb
DiskCache -> SqliteCache
2021-02-22 13:36:58 +11:00
Kevin Ring
711810a18f
Fix test failures.
2021-02-22 13:23:27 +11:00
Kevin Ring
b03e70a715
WIP tweaks to the disk caching.
2021-02-20 22:49:35 +11:00
unknown
a2228d1025
remove authorization header check for cache
2021-02-03 10:22:24 -05:00
unknown
496b594ce4
format spaces
2021-02-01 16:31:56 -05:00
unknown
6beee4801b
remove removeEntry() interface for cache storage
2021-01-31 19:06:32 -05:00
unknown
c85204ad6e
fix type conversion for std::time_t in test
2021-01-31 19:01:23 -05:00
unknown
378b27f591
add spdlog for cache
2021-01-31 15:31:12 -05:00
unknown
9c247f1d54
adjust the interface of cache storage to map key-multiple values in the future
2021-01-29 15:22:22 -05:00
unknown
397c82397c
change sql schema to one-to-many between key-table and cache-table
2021-01-28 16:22:26 -05:00
unknown
f29ad9b7ee
fix test for prune and make cache prune more efficient
2021-01-28 11:06:55 -05:00
unknown
f9ae4c80c8
test internal timegm
2021-01-28 10:15:34 -05:00
unknown
3b5074bef2
test parse response cache control with only some directive
2021-01-27 15:19:41 -05:00
unknown
fc2680fffb
add test for parsing response cache control
2021-01-27 15:11:02 -05:00
unknown
06d36dcb7a
impl test for cache prunw
2021-01-27 12:53:55 -05:00
unknown
5ac3bb525b
impl tests for retrieving, storing, and cleaning cache
2021-01-27 11:51:59 -05:00
unknown
8f50a5bc36
update test comments
2021-01-26 16:24:49 -05:00
unknown
c54f4c1fd1
add tests when retrieving cache item
2021-01-26 16:18:05 -05:00
unknown
a945989ae3
test expiry headers
2021-01-25 16:22:44 -05:00
unknown
4a7ae8bb81
test condition to store response
2021-01-25 15:17:47 -05:00
unknown
14b99cb854
impl test for CacheAssetAccessor
2021-01-20 15:23:54 -05:00
unknown
5514b716f9
impl cache policy
2021-01-20 10:37:09 -05:00
unknown
4718e483f6
create connection for each transaction. Use shared_ptr for completed request
2021-01-13 21:32:27 -05:00
unknown
fff9f7b458
use cache storage to before making request
2021-01-13 13:23:27 -05:00
unknown
4eb8c8a87c
IAssetAccessor now accept callback upfront when do request
2021-01-13 02:28:59 -05:00
unknown
bc7c5d9ddf
expose DiskCache to public headers
2021-01-11 09:22:35 -05:00
unknown
eb51da2dd6
impl prune for disk cache
2021-01-10 19:57:02 -05:00
unknown
4b2365f91b
add clear all cache record from table
2021-01-09 21:16:02 -05:00
unknown
5bc376003d
remove item from cache
2021-01-09 21:04:05 -05:00
unknown
034b70e6d2
check to make sure not return error if item is not found
2021-01-09 20:56:49 -05:00
unknown
074a50d778
impl storeCache and retrieveCache interface
2021-01-09 20:45:02 -05:00
unknown
f6e16f398d
add interface for Cache system
2021-01-08 16:51:25 -05:00