Fix bug where author index cache is not invalidated correctly
This commit is contained in:
parent
afe144d554
commit
8b03c78346
|
@ -181,7 +181,7 @@ local function read_get(req)
|
||||||
--If this isn't unlisted, dirty everywhere the hit counter is shown
|
--If this isn't unlisted, dirty everywhere the hit counter is shown
|
||||||
cache.dirty(string.format("%s",config.domain))
|
cache.dirty(string.format("%s",config.domain))
|
||||||
cache.dirty(string.format("%s/%s",config.domain,ps.idp)) -- This place to read this post
|
cache.dirty(string.format("%s/%s",config.domain,ps.idp)) -- This place to read this post
|
||||||
cache.dirty(string.format("%s/%s",config.domain,ps.idp)) -- The author's index page
|
cache.dirty(string.format("%s.%s",config.domain,ps.idp)) -- The author's index page
|
||||||
|
|
||||||
assert(text)
|
assert(text)
|
||||||
http_response(req,200,text)
|
http_response(req,200,text)
|
||||||
|
|
Loading…
Reference in New Issue