Azareal
db856af952
reduce boilerplate in topic routes
2020-05-27 18:54:53 +10:00
Azareal
77669d42a5
add actionSuccess function to reduce boilerplate
...
skip doPush if there is nothing to push
optimise cdnpush string building
use string builder for server push strings
2020-05-27 14:15:02 +10:00
Azareal
d83969edce
use hookgen for topic_create_frow_assign
...
rename header to h in CreateTopic
avoid double indirect for h for topic_create_pre_loop
2020-05-27 10:10:49 +10:00
Azareal
07d478179d
implement HooksNoRet and HooksSkip
...
use hookgen for route_forum_list_start
use hookgen for forums_frow_assign
change forums_frow_assign to a noret hook
save bytes and reduce boilerplate
2020-05-26 17:53:56 +10:00
Azareal
e222b3970a
eliminate redundant string allocs in ViewTopic
...
save bytes
2020-05-11 17:28:18 +10:00
Azareal
5b0fcd91d1
we don't use pFrag in topic replies
2020-04-28 08:23:21 +10:00
Azareal
46a87defee
optimise topic pages
...
optimise profiles
simple nil ptr handling in template boolean expressions
2020-04-27 22:41:55 +10:00
Azareal
47d88f1744
optimise cdn push with sync pool
2020-04-21 10:08:54 +10:00
Azareal
faf215f388
try speeding up static files with brotli
...
track ref routes for a bit to debug them
hit more bots with MicroNotFound
2020-04-13 13:28:52 +10:00
Azareal
d1506d8567
avoid full page load for /topics/
...
save bytes
2020-04-11 18:12:37 +10:00
Azareal
f6c5109fc7
hover styling for topic list moderation
...
add megaindex user agent
reduce boilerplate and save bytes
hide elapsed on nox mobile
2020-04-09 18:35:43 +10:00
Azareal
22af6f19cd
avoid amending reglogs on register
2020-04-05 07:27:20 +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
e68392387a
fix shadowing issue in login
2020-03-27 09:30:59 +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
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
ebe93df622
localise yes / no on-off setting toggles
2020-03-21 17:46:43 +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
3d7f04b92b
tweak renderTemplate3 for performance
2020-03-19 09:50:57 +10:00
Azareal
6a7b8fd3ee
map msnbot to bing and avoid bytes for ahrefs too
2020-03-19 07:21:06 +10:00
Azareal
7d25937352
avoid csp for semrush
2020-03-18 19:45:36 +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
20ce00f434
avoid unneccesary OGDesc allocs
2020-03-15 12:00:29 +10:00
Azareal
8d19048c0d
reduce bytes used on semrush
2020-03-14 12:09:18 +10:00
Azareal
4d8858b846
don't do server pushes for unneccesary resources on ajax topics
...
save bytes in init.js
2020-03-13 19:02:28 +10:00
Azareal
bfea6b740f
add cliqz, blexbot, curl user agents
...
add a /static/ redirect for the slower bots x.x
tweak slack, facebook ua phrases
avoid more allocs for ajax topic
2020-03-13 16:37: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
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
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
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
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
68c6b2f50a
reduce header tmpl size
...
avoid calling function twice in APIMe
2020-03-04 20:09:39 +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
5eaa8c8c89
optimise away this string for non-admins
...
optimise away redundant parentID column on ViewForum
2020-03-01 09:15:48 +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
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
08891853e6
fix int max perf counter bug
2020-02-28 15:06:16 +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
ea1037bd63
track favicon stats
...
experiment with tracking average route performance
temporary error route stub
optimise dumprequest
add DisableAnalytics config setting
fix double hyphens in slugs being mistaken for sql injection
more querygen tests
You wil need to run the updater / patcher for this commit.
2020-02-26 20:34:38 +10:00
Azareal
1ea023bb6d
tweak uptime format on debug page
2020-02-24 21:48:16 +10:00
Azareal
9c185cd1fd
add missing perf units
2020-02-24 18:28:43 +10:00