summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e9a7042)
The repository index page needed to include the querystring in the cache
filename.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
- item->name = xstrdup(fmt("%s/index.html", ctx.cfg.cache_root));
+ item->name = xstrdup(fmt("%s/index.%s.html",
+ ctx.cfg.cache_root,
+ cache_safe_filename(ctx.qry.raw)));
item->ttl = ctx.cfg.cache_root_ttl;
return 1;
}
item->ttl = ctx.cfg.cache_root_ttl;
return 1;
}