Commit Graph

1058 Commits

Author SHA1 Message Date
Azareal 372508bf98 fix poll results on ajax topic and eliminate unnecessary allocs for resources that aren't used 2020-03-13 12:56:23 +10:00
Azareal aa32bd335c try to avoid as many upfront gzip allocs to avoid wasting resources when they're not needed
avoid gzip for guests on routeAPI
2020-03-12 16:52:26 +10:00
Azareal 17c8f7604a rename avatar to img to save a few bytes in alerts 2020-03-12 13:29:19 +10:00
Azareal 61688a0c6d improve efficiency for small static files 2020-03-12 13:00:04 +10:00
Azareal 30b68945b4 guarantee more space for alerts 2020-03-12 11:08:56 +10:00
Azareal c7c3dcead2 save bytes 2020-03-11 19:28:00 +10:00
Azareal e19e478e32 try to iron out more ajax topic kinks 2020-03-11 19:13:05 +10:00
Azareal 64ec820453 add MojeekBot user agent 2020-03-11 18:54:11 +10:00
Azareal d3336245d5 fix quoting on ajax topic load
apply #back classes properly on ajax topic load
2020-03-11 17:08:27 +10:00
Azareal d43bffdec5 experiment with ajax load for topic
track route perf for BadRoute
2020-03-11 13:26:33 +10:00
Azareal bba83ef727 save bytes 2020-03-10 07:41:17 +10:00
Azareal d586220df2 add alternate duckduckgo ua 2020-03-09 20:49:22 +10:00
Azareal 42b38ae3d8 save bytes 2020-03-09 20:37:41 +10:00
Azareal aa303dc14d use empty string instead of 0 for pruned ips
eliminate a WriteRune call in BuildAlertSb
2020-03-09 17:11:58 +10:00
Azareal 28f210371e try to optimise routeAPI 2020-03-09 15:16:44 +10:00
Azareal b04d77d7b6 optimise topic lists by caching common qcounts for getList stmts
recalc forum topic counts
reduce thaw period to 3
cache top 8 forums instead of 5
optimise GetListByForum with zero topics
add Each method to ForumStore
2020-03-09 13:51:44 +10:00
Azareal 42a95d8597 initial Paginate() tests 2020-03-09 11:37:31 +10:00
Azareal 5007ddcb1e fix tests 2020-03-08 18:10:56 +10:00
Azareal f5c9a34fdd simple top forum topiclist caching
reduce thaw period to 4
fix the _ ua bug
try using a hard period for routeAPI to avoid unneccessary churn for a return string that is unlikely to change
2020-03-08 18:04:37 +10:00
Azareal 6387e2bce0 fix safari ua matcher 2020-03-08 14:36:27 +10:00
Azareal 7d2be466b3 optimise ua tracking
reduce number of bytes used when we don't know the lang
add more spammy domain strings
2020-03-08 14:15:27 +10:00
Azareal f55a7a23ba add haosou, proximic and mail_ru user agents
add pre_global js hook
try to fix archive.org ua patching
don't word split uas at _
2020-03-08 10:50:23 +10:00
Azareal d22d6f0b27 add AhrefsBot user agent 2020-03-07 21:08:25 +10:00
Azareal 998cbbfd50 add MJ12bot user agent
add toutiao lang string
2020-03-07 20:46:27 +10:00
Azareal a80c52861b add toutiao and alternate slack user agents
track route perf for avatars, robots.txt and opensearch
2020-03-07 15:28:25 +10:00
Azareal 46b23ee3a9 log unknown uas 2020-03-07 14:20:42 +10:00
Azareal b1014d5647 add archive.org user agent 2020-03-07 13:49:44 +10:00
Azareal ce306d2a4b add slurp, exabot, sogou and alexa user agents
try again to add aspiegelbot
2020-03-07 13:25:50 +10:00
Azareal f3bdfffbed avoid allocs for guest alert etags
use phrase file modtime instead of instance start time for routeAPIPhrases to avoid cache churn
2020-03-07 12:59:06 +10:00
Azareal 42550269cc stop straining eyes on chart labels 2020-03-07 09:18:52 +10:00
Azareal 670b6186b5 avoid loading alerts in the panel in nox 2020-03-07 09:00:35 +10:00
Azareal 2b904b8b76 avoid embarrassment 2020-03-07 08:11:13 +10:00
Azareal 83a2659b1c this too x.x 2020-03-07 07:55:26 +10:00
Azareal 133c240350 experiment with range header in StaticFile
optimise StaticFile with StrLength
add things i forgot yesterday
2020-03-07 07:52:58 +10:00
Azareal 1a17190a2d fix typo 2020-03-06 21:06:44 +10:00
Azareal 24eb9f287c try to add AspiegelBot user agent
tweaked zgrab phrase
2020-03-06 19:12:41 +10:00
Azareal d2828471cd optimise www redirect check
minor init.js optimisation
avoid gzip for empty obj in alerts endpoint
2020-03-06 13:07:28 +10:00
Azareal 8f21d34964 experiment with bce in plist 2020-03-05 14:43:40 +10:00
Azareal f5118d1b11 fix possible linter screw-up in buildFlexiWhere 2020-03-05 11:01:23 +10:00
Azareal 1bee9a35f2 use string builder in buildOrderby 2020-03-05 10:40:40 +10:00
Azareal c31ca03a0d use string builder in buildFlexiWhere
add string builder growth hints
track favicon perf
2020-03-05 09:56:45 +10:00
Azareal 68c6b2f50a reduce header tmpl size
avoid calling function twice in APIMe
2020-03-04 20:09:39 +10:00
Azareal 28daeee702 use string builder for alert api 2020-03-04 14:31:11 +10:00
Azareal 24107aaef1 initial reduce pointer derefs and improve bce in templates 2020-03-03 23:02:46 +10:00
Azareal 9e6d33b39d fix missing chart legend colour for tsimple and cosora 2020-03-03 16:54:05 +10:00
Azareal 2330b5bfeb optimise topic list orderby
filter out forums with no topics from search queries
update go version in go.mod
2020-03-03 14:25:18 +10:00
Azareal d86ea75cdb update chart lines for shadow too 2020-03-01 21:09:15 +10:00
Azareal 76dbd61035 less prominent pink 2020-03-01 19:00:12 +10:00
Azareal 68daa5eb18 try again 2020-03-01 18:55:33 +10:00
Azareal d962035e8e experimental fix for missing chart item 2020-03-01 18:50:54 +10:00