This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Sam a1332a906b FIX: remove slow platform detection from server side
Historically due to https://meta.discourse.org/t/why-is-discourse-so-slow-on-android/8823
we decreased page sizes of both home page and topic page on android by half.

This was done on the server side and as a side effect and caused page sizes on android
to mismatch between Android and non Android.

Unfortunately about a year ago googlebot started pretending it is Android,
this cause Google to start indexing pages as what android would see. So
it saw double the amount of pages in the index as what exists on desktop.
This in turn caused double the amount of indexing work and a large amount
of broken links on long topics.

This fix removes all special behavior which is no longer needed due to
other performance work in Discourse including raw handlebars on home page
and virtual dom on topic pages.

I tested we do not need this on Blu Advance 5.0 it has 1.3 GHZ mediatec mt6580
This phone retails for around $50 USD.

If we decide long term that we want any hacks like this we will shift them
to the client side. It can just hold data in memory without rendering.
2018-12-13 16:15:16 +11:00
..
assets SECURITY: Require groups to be given when inviting to a restricted category. (#6715) 2018-12-06 15:05:34 +01:00
controllers FIX: remove slow platform detection from server side 2018-12-13 16:15:16 +11:00
helpers Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
jobs FIX: Give up migrating url site setting if endpoint doesn't return data. 2018-11-22 12:16:52 +08:00
mailers FEATURE: Warn users via email about suspicious logins. (#6520) 2018-10-25 09:45:31 +00:00
models SECURITY: Require groups to be given when inviting to a restricted category. (#6715) 2018-12-06 15:05:34 +01:00
serializers FIX: Do not serialize user fields unless they are specified for display (#6736) 2018-12-07 11:00:47 +00:00
services REFACTOR: Simplify extraction of mentions 2018-11-27 12:46:02 +01:00
views Remove extra apple-touch-icon link in head. 2018-11-29 15:24:52 +08:00