Azareal
48b0b410c9
add a few more parser tests
...
save bytes in the parser
save allocs in external image embeds in the parser
save alloc bytes in convos
2020-03-28 14:48:42 +10:00
Azareal
d3b2721746
optimise attach exts
...
optimise PrepResources
2020-03-28 09:10:54 +10:00
Azareal
cd66782129
push content type for opensearch
...
don't insert a last ip on installation
save bytes and allocs in the parser
add attach parser test cases
more benchmarks
2020-03-28 07:01:44 +10:00
Azareal
b53577a126
fix MicroNotFound
...
reduce allocs in cdn push
2020-03-27 22:00:29 +10:00
Azareal
3adee57b37
save allocs in router
...
better logging for bad char in path
router_pre_route hook now returns properly
2020-03-27 16:05:35 +10:00
Azareal
dd5aef22dd
fix the order of the status code / header pushes in errors
2020-03-27 13:41:28 +10:00
Azareal
a47a0318a7
increase the number of agents on the ua chart
...
optimise mfaVerifySession
reduce boilerplate for populating the menu items
shorten ua phrases for semrush and aspiegel
rename account_username_updated phrase to account_name_updated
2020-03-24 12:07:30 +10:00
Azareal
0635627950
minify menu templates
...
save bytes in init.js
2020-03-23 11:37:35 +10:00
Azareal
a3d6f1c844
minify interpreted templates
...
save bytes in init.js
2020-03-23 11:18:10 +10:00
Azareal
a668cd296b
save bytes in the client templates
...
rename template file and functions to reduce bandwidth usage
replace x-loggedin with theoretically faster x-mem
remove redundant check in ua loop
move extraData initialisation down to where it's needed
2020-03-23 09:14:08 +10:00
Azareal
ade8f82af7
add python and go user agents.
...
add new bot class for python, go and curl to reduce resource usage.
don't push canonicals for loggedin users
try to avoid pushing google site verify when it isn't necessary
give ahrefs the semrush treatment
2020-03-22 14:37:45 +10:00
Azareal
f86346ba22
reduce boilerplate in the client template builder
...
save a few more bytes in client templates
shave down img tags and global.js mini parse
remove comment in topic alt userinfo
2020-03-22 12:37:32 +10:00
Azareal
f074b5578c
fix account tmpls breaking due to time elapsed changes
2020-03-22 12:20:13 +10:00
Azareal
75ed0cd5f2
save bytes in client templates
2020-03-22 10:25:10 +10:00
Azareal
22ec566a2c
add website datenbank user agent
...
reduce redundancy and fix sublties in StaticFile()
2020-03-21 17:44:33 +10:00
Azareal
6a7b8fd3ee
map msnbot to bing and avoid bytes for ahrefs too
2020-03-19 07:21:06 +10:00
Azareal
b66a494f1c
Revert "Revert "will a pointer make this faster...?""
...
This reverts commit 501bcc2425
.
2020-03-18 19:21:34 +10:00
Azareal
501bcc2425
Revert "will a pointer make this faster...?"
...
This reverts commit 8e414486b8
.
2020-03-15 21:34:57 +10:00
Azareal
8e414486b8
will a pointer make this faster...?
2020-03-15 17:06:44 +10:00
Azareal
8d19048c0d
reduce bytes used on semrush
2020-03-14 12:09:18 +10:00
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
d43bffdec5
experiment with ajax load for topic
...
track route perf for BadRoute
2020-03-11 13:26:33 +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
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
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
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
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
8f21d34964
experiment with bce in plist
2020-03-05 14:43: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
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
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
7c3c8dcae0
unify single forums in topic lists and forum pages with GetListByForum
...
add GetListByForum method
remove forums with topic counts of zero from filter lists
avoid locking whenever possible in route view counter
2020-03-01 16:22:43 +10:00
Azareal
b1c9e0d11c
swap TopicCountInForums's implementation out for a saner one...
...
clean up repetition in route legends
2020-02-29 17:34:38 +10:00
Azareal
ae8c27fc2d
remove redundant topiccount query in topiclist slow path
2020-02-29 15:38:30 +10:00
Azareal
46732286e5
optimise route perf tracking
...
expand route perf tracking to more routes
2020-02-29 11:10:39 +10:00
Azareal
03862d1b09
experiment with more route perf tracking
2020-02-29 09:11:07 +10:00
Azareal
c403b4a85a
optimise os tracking
...
optimise memory tracking
add panel_stats_routes_perf_head phrase
2020-02-28 15:47:43 +10:00
Azareal
ca8411a519
experimental route perf pane
...
add 1.14 to travis test list
more qutils tests
add panel_menu_stats_routes_perf phrase
2020-02-28 14:52:45 +10:00
Azareal
671134b1f3
try to fix the int max bug again
2020-02-28 11:56:06 +10:00
Azareal
4ea5e91f2d
tweak the check
2020-02-28 11:41:16 +10:00
Azareal
8db923cb6e
troubleshoot anomalous int max with stacktrace
2020-02-28 09:21:38 +10:00