Tool-assisted game movies
When human skills are just not enough

Cache Control

Cache controller

This site uses various cache systems for speed and a bytecode accelerator for PHP.


Due to caching, sometimes changes in movie texts / movie categories / submission edits do not become immediately visible to all of the audience of the site.

Here is a list of some of the caching employed:

Wiki pages for non logged in users Entire page is cached to file, and is updated hourly by a bot which deletes all pages which are older than 18 hours. This cache can also be cleared by TASVideoAgent in the IRC channel[1]. Note, that movie publications, as well as text edits to wiki pages will delete old pages immediately.
Movie module For 5 minutes.
Submission pages For 5 minutes.
Submission list For 5 minutes. However different levels of users cache different lists.
Topic feed (news) For 1 hour.
Move change log For 15 minutes.
Front page submission list For 15 minutes.
feed log module For 15 minutes.
Awards Until PHP is restarted, cache version is bumped or cache manually cleared.
Streaming URLs Until PHP is restarted.
Standard RSS Feeds Hourly
Per Movie RSS Feeds Checked hourly for feeds older than 18 hours and updated. This cache can also be cleared by TASVideoAgent in the IRC channel[1].



Storage: 38.92 MB (22229 cached queries), max 64 MB
Efficiency: 302829211 hits, 169366668 inserts, 560648 not cached
Misc: Been up for 7641006 s
Note: MySQL cache cannot be flushed
(it never returns stale data).

Server 1 (tasvideos)

Network: - in, - out
RAM: 7.78 GB total, 5.55 GB used by progs,
207.48 MB by bufs, 824.16 MB by cache, 1.22 GB free
Swap: 4 GB total, 38% used
Kernel: Linux 4.9.171-anima (x86_64)
Uptime: Been up 28171957 s
Disk space: varies
Note: Network traffic includes
also LAN traffic.

Memcache Server 1 (localhost)

Storage: 16.54 MB (20411 items), max 64 MB
Res. usage: 161.395 s user, 58.831 s system time
Traffic: 77.99 MB in, 1.5 GB out, 111 connections
Efficiency: 216896 hits, 77196 misses
Misc: 294092 gets, 87713 puts, been up for 7638960 s


PHP0: 6.35 MB in use, 64 MB max, 149 items, 747703 hits, 149 misses
PHP1: 8.03 MB in use, 64 MB max, 150 items, 790627 hits, 150 misses
Data0: 3.38 MB in use, 64 MB max, 9764 items, 108768 hits, 72489 misses
Data1: 1.78 MB in use, 64 MB max, 9724 items, 198351 hits, 73894 misses

[1]: To clear cache using TASVideoAgent, enter the #tasvideos channel at irc://irc.freenode.net/tasvideos and type TASVideoAgent: clear cache <pagenameURL> where <pagenameURL> is the full address of the page you want to update.

Combined RSS Feed
CacheControl last edited by Ilari on 2014-06-01 19:26:31
Page info and history | Latest diff | List referrers | View Source