Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Day_ Posted May 5, 2019 Posted May 5, 2019 On fiddling with my backend (sounds ruder than what it was), I came across this setting, I swear I had it set to 30 minutes, but it was set to 30 weeks which sounds a crazy amount of time to cache those blocks? Does 30 minutes sound about right, or should it really be set to 30 weeks?
Adlago Posted May 5, 2019 Posted May 5, 2019 It also creates problems for me. I left it in 15 minutes. I think it should be turned off - but there is no such option.
Day_ Posted May 5, 2019 Author Posted May 5, 2019 12 minutes ago, Adlago said: It also creates problems for me. I left it in 15 minutes. I think it should be turned off - but there is no such option. I never noticed any real problems to be honest, just thought it looked very odd being that length. Now you mention 15 minutes, that sounds like the default, but I upped it to 30 years ago thinking it would change the length of time the who's online block showed. Later realised that wasn't the case.
Adlago Posted May 6, 2019 Posted May 6, 2019 42 minutes ago, bfarber said: I believe the default is 5 minutes. If this cache is for 5 minutes, which task clears this cache? Task "clearcache" is set to every10 minutes ...
bfarber Posted May 6, 2019 Posted May 6, 2019 No task clears it - when we go to show the block, we look for a cached copy. If there is a cached copy, and that cache is not too old, it's used. If there is no cached copy, or the cached copy was stored too long ago (i.e. it's expired), we clear it and regenerate the HTML.
Adlago Posted May 6, 2019 Posted May 6, 2019 2 minutes ago, bfarber said: No task clears it - when we go to show the block, we look for a cached copy. If there is a cached copy, and that cache is not too old, it's used. If there is no cached copy, or the cached copy was stored too long ago (i.e. it's expired), we clear it and regenerate the HTML. Thanks, but then the task clearcache - which exactly cache clears?
Adlago Posted May 6, 2019 Posted May 6, 2019 10 minutes ago, bfarber said: Redis (and other cache engine) caches. Ie. for me now nothing is done in this task - I stopped Redis, I not use a guest cash page. No specified cache - my site works fast and accurately. Redis creates inaccuracies in statistics "who is online", and I do not get any improvement on my site from using Redis. Actually - I will add in my topic in Feedback - it would be a good administrator to be able to stop and useless tasks ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.