Commits
- Commit:
fe84b7508f733106d346acf1b120951c78ad77a1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch the cache to the new parser_serialize API
- Commit:
946d3439b93be9bac9eb246d9ff40f9e02e259a8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
crank up cache limits
delete pages that are older than one hour, and scan the cache only once
every five minutes. The previous defaults were a bit too much
conservative.
- Commit:
a96922a16759643ba6a0bc3d9781e97fedbf1107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop useless struct
instead of keeping the struct mcache that's private to mcache.c and
used only once, just define its fields as (static) variables. While
here, mark as static also gemtext_prefixes.
- Commit:
4b4c3458436c646c06d295cc56e990eef9897c6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
timer-based cache removal: delete cached pages older than 15 minutes
- Commit:
befa807e5bfef47c79310f7ab3b7038042a49ee8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache: keep track of the total size and number of cached pages
- Commit:
ffcd827cfe2431a4f2ba116bc00b205d12cdf6df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mcache_tab: free previous copies of that page
- Commit:
9d65b1d9ae3209a8a2bc8e8c376dede4f71290ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move util.c declarations in utils.h
it's not spelled `util.h' because otherwise it'd get included instead
of /usr/include/util.h
- Commit:
036c104e0d5b8758a8cf72c9085af23956fdfa6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
de-duplicate hash_* function: collect them in util.c
- Commit:
4e3871f5a61f3d1781f0e1b273ab3c7eeb9924f7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
save parser name across mcache_tab/mcache_lookup
- Commit:
8f3c9af8369ac653695ca22777db99bfa1162cfe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify the caching API
- don't expose the evbuffer where we store the cached page
- cache to/from tabs instead of buffers
- Commit:
d5af38ccfe6c94218f4d7ab8d6aaf382e7dede80
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an in-memory cache store
see github issue #1