diff --git a/config.toml b/config.toml index e592f8c..21a3c51 100644 --- a/config.toml +++ b/config.toml @@ -2,11 +2,10 @@ languageCode = "en-gb" title = "BookStack" baseurl = "https://bookstackapp.com/" theme="bookstack" -disqusShortname = "bookstackblog" [permalinks] post = "/blog/:slug/" [params] blogCover = "/images/cover.jpg" - googleAnalyticsUserID = "UA-61486258-4" \ No newline at end of file + googleAnalyticsUserID = "UA-61486258-4" diff --git a/content/blog/ditching-disqus.md b/content/blog/ditching-disqus.md new file mode 100644 index 0000000..1a7e881 --- /dev/null +++ b/content/blog/ditching-disqus.md @@ -0,0 +1,59 @@ ++++ +categories = ["News"] +tags = ["News"] +description = "" +slug = "ditching-disqus-comments" +draft = false +title = "Ditching Disqus Comments" +date = 2017-04-17T13:05:00Z +author = "Dan Brown" +image = "/images/blog-cover-images/dog-splash-peter-hershey.jpg" ++++ + +Just a small update about a change on the blog here. +I have decided to drop the use of Disqus as a commenting system and instead +replaced the comments area with a few simple links to my twitter and to the +BookStack issues page. + +I've really liked Disqus and am grateful for the service they +provided but it looks like they are moving forward with increasing their ad +displaying and user tracking. + +A few times recently I've noticed requests hanging when loading blog pages +which keeps the tab loading icon spinning making the load time feel slow and +you'd sometimes see tracking domains pop up in the corner of the browser. +Looking at the network requests a whole load of requests were going out to +ad tracking domains even though ads were not showing. Some of these requests +were even failing stretching out that load time feeling. + +Here's two screenshots to compare the page network activity for the same page +with and without Disqus: + +**Disqus Enabled** + +![With Disqus](/images/2017/04/disqus_enabled.png) + +**Disqus Disabled** + +![Without Disqus](/images/2017/04/disqus_disabled.png) + +So here's what that shows, On a single page Disqus: + +* Increased the download size by 2.5x +* Increased the request count by 8.5x +* Increased the total page load time by 25x + +This was tested on a locally served maching so that will effect those results +against Disqus's favour but the difference on the live, remote system isn't much +different. From the above I've decided, for my use case, Disqus is not worth it. +I'd rather have faster feeling pages and increase user privacy than have +comments available. + +Thank you to all those whom have previously left constructive and positive +comments about the project. I am thinking about using something like Gitter +as an alternative source of feedback and discussion but for now I'm keeping it +simple. + +---- + +Header Image Credits: Peter Hershey diff --git a/static/images/2017/04/disqus_disabled.png b/static/images/2017/04/disqus_disabled.png new file mode 100644 index 0000000..04a014e --- /dev/null +++ b/static/images/2017/04/disqus_disabled.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0d88e66760c0add19d473dbdcf52fcb6c79aa3ec6abe933cc58adc8477361b8 +size 10891 diff --git a/static/images/2017/04/disqus_enabled.png b/static/images/2017/04/disqus_enabled.png new file mode 100644 index 0000000..538fe56 --- /dev/null +++ b/static/images/2017/04/disqus_enabled.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79a80b3f0e41fb31ea90f4d2ab50f2de1e608af848406744ec996c29ffbe6530 +size 15235 diff --git a/static/images/blog-cover-images/dog-splash-peter-hershey.jpg b/static/images/blog-cover-images/dog-splash-peter-hershey.jpg new file mode 100644 index 0000000..a6c7c2a --- /dev/null +++ b/static/images/blog-cover-images/dog-splash-peter-hershey.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a743166ac959d9d3be800a030e934318dd55d305b8243ac92fd3072db1d91496 +size 304610 diff --git a/themes/bookstack/layouts/blog/single.html b/themes/bookstack/layouts/blog/single.html index 607c198..6412469 100644 --- a/themes/bookstack/layouts/blog/single.html +++ b/themes/bookstack/layouts/blog/single.html @@ -25,8 +25,15 @@