<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arun Rajkumar on Medium]]></title>
        <description><![CDATA[Stories by Arun Rajkumar on Medium]]></description>
        <link>https://medium.com/@arunrajkumar?source=rss-ddf859c0c3b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WecD0PApKAzE_JpABam1PA.jpeg</url>
            <title>Stories by Arun Rajkumar on Medium</title>
            <link>https://medium.com/@arunrajkumar?source=rss-ddf859c0c3b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 02:13:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arunrajkumar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Frontend Performance — Web Application optimization techniques]]></title>
            <link>https://medium.com/@arunrajkumar/frontend-performance-web-application-optimization-techniques-553123b465ed?source=rss-ddf859c0c3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/553123b465ed</guid>
            <category><![CDATA[emoji-engineering]]></category>
            <category><![CDATA[performance-optimization]]></category>
            <category><![CDATA[brotli]]></category>
            <category><![CDATA[lazy-loading]]></category>
            <category><![CDATA[frontend-engineering]]></category>
            <dc:creator><![CDATA[Arun Rajkumar]]></dc:creator>
            <pubDate>Thu, 30 Jul 2020 15:56:39 GMT</pubDate>
            <atom:updated>2020-07-30T15:56:39.798Z</atom:updated>
            <content:encoded><![CDATA[<h3>Frontend Performance Optimization — 6 steps to getting your page ripped</h3><h3>Like any good weight-loss program, we took a disciplined approach — shedding weight in a systematic manner. We identified the top sources and began the attack.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cOwVivkzsHfj_xtoR_E1iQ.png" /><figcaption>Freshchat’s Web Messenger</figcaption></figure><p>Freshchat’s Web Messenger is that tiny, expandable bubble you see at the bottom of any page that includes it.</p><p>When you have are responsible for a Web Messenger with an MAU (Monthly Active Users) in millions, it becomes imperative to think about speed and size. Especially, when it is loaded on top of another website.</p><p>We, at Freshchat, took up the challenge of making the user experience better. After all, who wouldn’t like a page that is lighter and faster?</p><h4><strong>What is page size?</strong></h4><blockquote>“Page size — also called page weight — refers to the overall size of a particular Web page. A page size includes all of the files that are used to create the web page. These files include the HTML document, any included images, style sheets, scripts, and other media.”— <a href="https://www.computerhope.com/jargon/p/pagesize.htm">Computer Hope</a></blockquote><h4>Why reduce?</h4><p>When we started, our Web Messenger’s size was at an alarming 7.8MB. I know it sounds ridiculous. How did we ever allow it? I guess it comes with having a short Time To Market (TTM).</p><p>We then took a series of steps that brought it down to about one-twentieth that size.</p><h4>How we did it</h4><p>Like any good weight-loss program, we took a disciplined approach — shedding weight in a systematic manner. We identified the top sources and began the attack.</p><h4>1. Initial Fat-loss — Optimizing Emojis</h4><p>Conventional wisdom tells us to combine images into sprite files. Well, we did just the opposite. We had one gargantuan-sized (8MB uncompressed) sprite-file that housed 1,280 emojis. This was fetched every time the page was loaded, to be shown within the emoji picker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*BauB03iZVkz-BDPKfvoT4w.png" /><figcaption>Emoji picker with 1,280 emojis</figcaption></figure><p>The same sprite file was referred to while displaying emojis used in a conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*8Svo69s628OfJPGj5QyRZA.png" /><figcaption>Emojis within a conversation</figcaption></figure><p>So even if the emoji picker was never used, the sprite file would be loaded to show the emojis within the conversation. That’s a whopping 8MB to show a humble emoji.</p><p>We began by splitting the sprite-file into 1,280 files so that the emojis within the conversation could access them individually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*DB79NratfIHVnMY7WG2C_A.png" /><figcaption>Individual emojis being loaded</figcaption></figure><p>Next, we lazy-loaded the sprite file to load only on click of the emoji-picker.</p><p>This hack helped us save 5MB (gzip compressed) on load; the biggest chunk we’d shed.</p><h4>2. Right-sizing — Resizing media files</h4><p>Over time, a number of media files we used got bulky. Simply because we paid no attention to it. It was now time to set it right.</p><ul><li>50KB loader.gif was replaced with a css hack (&lt;1KB).</li><li>33KB notif.mp3 was reduced to 4KB by reducing the bit-rate and clipping out the silence.</li><li>57KB emoji meta-file was reduced to 28KB by removing the unused meta properties for each emoji.</li><li>5MB emoji sprite-file reduced to 2.1MB by reducing the resolution from 60x60 to 30x30. So emojis load faster, even on-demand.</li></ul><h4>3. Loading resources On-demand</h4><p>Back to emojis, we split our single, large emoji sprite-file into 8 files based on the emoji-categories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*73X9AxYl6wXQp4Y58ImrfQ.png" /><figcaption>Emoji categories</figcaption></figure><p>So, instead of loading 2.1MB on clicking the emoji-picker, we loaded only a measly 250KB sprite-file corresponding to the category being shown.</p><p>Isn’t that cool? From an 8MB emoji-sprite to 250KB.</p><p>Our FAQ search on the Web Messenger happens in the browser using <a href="https://lunrjs.com/">lunr.js</a>. And we support keyword search in all of the languages that lunr.js supports. That means we needed to load the 14 supported language files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*GQytNSAtK6X0-pxf4PpnTw.png" /></figure><p>Not unless we had to.</p><p>So, we identified the user’s locale and loaded only the language file that we absolutely needed.</p><p>We took a similar approach to Moment.js’ locales and Co-browsing, a feature where you can request access to your customer’s screen and help them remotely.</p><h4>4. CDN Magic</h4><p>The advantages of moving our static resources to CDN cannot be overstated. In retrospect, we feel this one should have been done before all else.</p><p>The benefits:</p><ul><li>Speedier delivery of resource — page load times became significantly faster.</li><li>Lesser CPU utilization on our nginx servers.</li><li>Better compression algorithms resulting in lower resource sizes.</li><li>Overall, a zippier experience for our customers.</li></ul><h4>5. Upping the Ante — Trimming the excesses</h4><p>We all use libraries to get work done faster. If someone has done it, why reinvent it? Just borrow it.</p><p>While this works in getting to market sooner, it adds a lot of unnecessary code to our vendor.(js|css).</p><p><a href="https://daneden.github.io/animate.css/">Animate.css</a> gave us the beautiful transitions like fadeIn, fadeOut, zoomIn, slideInRight etc. But instead of using just those, we had included all of the animations in their single file animate.min.css.</p><p><a href="https://momentjs.com/timezone/">Moment Timezone</a> allowed us to identify the user’s timezone. Instead of using the timezone data for 2012–2022, we were using the larger set that had data of all known past and 20 additional years of the future.</p><p><a href="https://getbootstrap.com/">Bootstrap</a> was in it too. Who doesn’t create a website without Bootstrap? Even if it meant we needed to use only their button styles. When we let go of bootstrap.min.(js|css), we’d shed another 50KB.</p><p>Emojis again. The scope for optimizing emojis seems never ending. We identified and removed the least used (read never) of them which included animals and flags. They took a significant chunk out.</p><h4>6. Ripped</h4><p>Just when we thought we’d reached the zenith, along came <a href="https://github.com/google/brotli">Brotli</a> compression.</p><blockquote>“In comparison to gzip, brotli is around 20% more performant when it comes to compressing files such as HTML, CSS and JavaScript.”​ — <a href="https://www.maxcdn.com/one/visual-glossary/brotli/">Stackpath</a></blockquote><p>This final step helped us shed a further 16% in weight.</p><p>Our Web Messenger now stands at a princely <strong>430KB</strong>, a far cry from the once burgeoning 7.8MB.</p><p><em>Update: We needed to revert this as certain browsers don’t support Brotli compressed resources yet.</em></p><h4>Conclusion</h4><p>Now that we’re light, going forward, it is our discipline that will keep us in shape. For every resource we include, we ask ourselves these questions:</p><ul><li>Can we do without it?</li><li>If not, can we include only the relevant code we use?</li></ul><h4>What’s next?</h4><p>Being mindful of what we put in our resources has now become a discipline that every Frontend engineer swears by.</p><h4>Credits</h4><p>Freshchat Frontend team that includes Sankar Ganesh, Mohamed Imthihas, Arunkumar Velu, Vasanth Kumar and myself, Arun Rajkumar.</p><p>Sakthi Goutham, Yuvaraj, Vijayabharathi, and Shanmugapriya from Freshchat QA.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=553123b465ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Welcome]]></title>
            <link>https://medium.com/freshchat-automations/welcome-b2f8f01dbae5?source=rss-ddf859c0c3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2f8f01dbae5</guid>
            <dc:creator><![CDATA[Arun Rajkumar]]></dc:creator>
            <pubDate>Sun, 03 May 2020 05:18:22 GMT</pubDate>
            <atom:updated>2020-05-03T12:38:20.897Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction to Automations in Freshchat</h3><p>Freshchat is a modern messaging software that provides a business with multiple channels of communication: Web Messenger, Whatsapp, Apple Business Chat, Facebook Messenger and mobile SDKs for iOS and Android.</p><p>Your customers can reach out to you through any of the above channels using Freshchat.</p><p>With an ever growing feature set and a myriad of different automations available in Freshchat, it can be a daunting task to arrive at the perfect solution for your business.</p><p>This blog is an attempt to demystify the various automations available in Freshchat.</p><p>Let’s look at what Freshchat currently offers…</p><p><strong>Intelliassign</strong> — Automatically assigns conversations based on skill level and conversation load within a group to your team members.</p><p><strong>Assignment Rules </strong>— A configurable set of rules that assign a conversation to a particular group or agent based on properties of the user and the conversation.</p><p><strong>Auto Resolve</strong> — Automatically resolves a conversation when the user has not responded for a configurable period of time.</p><p><strong>Business Hours </strong>— Automatically send a reply to the user when she has sent a message outside business hours.</p><p><strong>Customer Satisfaction Rating</strong> — Automatically asks for CSAT-rating when a conversation is resolved.</p><p><strong>Away Experience </strong>— Automatically collects lead information when a user contacts a business outside business hours.</p><p><strong>Triggered Campaigns</strong> — Proactively triggers a message to the user while she is navigating through your site based on user properties and events.</p><p><strong>Freddy Answer Bots </strong>— Automate customer delight by sending instant and precise answers to customer’s questions based on FAQs created by you.</p><p><strong>Freddy Custom Bots </strong>— Create conversational bots to book meetings, qualify visitors, and more. Can either be triggered through a campaign or by simply navigating to a topic.</p><p><strong>Advanced Automations </strong>— Create workflows for every event generated by your users, team members, or system.</p><p>We will delve into each of these in the upcoming posts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2f8f01dbae5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/freshchat-automations/welcome-b2f8f01dbae5">Welcome</a> was originally published in <a href="https://medium.com/freshchat-automations">Freshchat Automations</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prechat Form meets Freshchat.XYZ]]></title>
            <link>https://medium.com/@arunrajkumar/prechat-form-meets-freshchat-xyz-12d1622a2154?source=rss-ddf859c0c3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/12d1622a2154</guid>
            <category><![CDATA[customer-support]]></category>
            <category><![CDATA[freshchat-xyz]]></category>
            <category><![CDATA[productivity-tools]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[prechat-form]]></category>
            <dc:creator><![CDATA[Arun Rajkumar]]></dc:creator>
            <pubDate>Wed, 13 Mar 2019 07:43:25 GMT</pubDate>
            <atom:updated>2019-03-13T07:43:25.533Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*_EB3Nl7O-yAK5-ptevmhIw.png" /></figure><p>Think about how much time was spent configuring a Prechat form for a customer — from picking the right colour to customizing content to configuring the form fields.</p><p>We believe that a Customer Support specialist can spend less time configuring (via code) and more time engaging with customers with our latest feature.</p><p>That’s why we’re excited to announce the launch of the <strong>Prechat Form Builder</strong>.</p><p>With Prechat Form Builder, you can customize the entire Prechat Form using a friendly user interface.</p><p>In <strong>5 easy steps</strong> you’re good to go to share the customized Prechat Form code with your customers.</p><p><strong>1. Enable Prechat Form in </strong><a href="https://freshchat.xyz/">Freshchat.XYZ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*n1WQjYScG205_mDtooQK4g.png" /></figure><p><strong>2. Configure Appearance &amp; Content</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*MkuMkyK0yrBCd16s11SKlA.png" /></figure><p>Pick a foreground colour and background colour from the colour picker and customize the content that appears on the Prechat Form.</p><p><strong>3. Customize fields</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*fXVr7hVGGne-ECLOqUhhEw.png" /></figure><p><strong>Mandatory</strong>: Yes/No<br><strong>Type</strong>: Choose a kind of validation needed for the field (options: title, text, phone, email etc.)<br>Label: Provide a label for the field<br><strong>ID</strong>: Provide an identifier that can be used to set as a user property in Freshchat.<br><strong>Error Message</strong>: Provide a message to show when a validation fails.</p><p><strong>4. Save &amp; Run — to see your changes in action</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*UaEOYhlb464WSRgl7SfTow.png" /></figure><p><strong>5. Copy Code-to share away with customers</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*aVY85D231xAzeH5UZ322mQ.png" /></figure><p>We have many more great features in the works, all solving pains that we hear about from our users.</p><p>Built with ❤️ by Imthihas &amp; <a href="https://medium.com/u/ddf859c0c3b">Arun Rajkumar</a> (myself)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12d1622a2154" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Evolution of UPI — Part 1]]></title>
            <link>https://medium.com/@arunrajkumar/evolution-of-upi-part-1-bf150f249b5c?source=rss-ddf859c0c3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf150f249b5c</guid>
            <category><![CDATA[neft]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[rtg]]></category>
            <category><![CDATA[payments]]></category>
            <category><![CDATA[upi]]></category>
            <dc:creator><![CDATA[Arun Rajkumar]]></dc:creator>
            <pubDate>Fri, 16 Dec 2016 12:00:31 GMT</pubDate>
            <atom:updated>2016-12-16T12:00:31.012Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>NEFT &amp; RTGS</strong></p><p>We are used to performing a third-party money transfer using NEFT and RTGS. But these have a limitation; they don’t work round the clock. So IMPS was devised.</p><p><strong>IMPS — Immediate Payment Service</strong></p><p>It was thought that a mobile number can’t be shared by two people. Hence it can be used to uniquely identify a person and his bank account. So that would make money transfer possible without knowing the bank account of a person.</p><p>But, this idea had a problem. One mobile number can be linked to many bank accounts. How would the system know the exact account number? To solve this problem, the concept of MMID (Mobile Money Identifier) was introduced. An MMID is a 7-digit number of which the first 4 digits identify the bank and the last three, your account with the bank.</p><p>Now, with the help of MMID and mobile number both, we get to know the exact account. This combination can be shared with others in order to receive money.</p><p>IMPS facility differs from NEFT and RTGS as there is no time limit to carry out the transaction. This facility can be availed 24X7 and on all public and bank holidays including RBI holidays.</p><p>Also, you need not have to share sensitive information like your bank account number.</p><p>Now, this too has a limitation. You will need to disclose your mobile number and the bank in which you hold your account (using the first 4 digits of your MMID). Also, you can only perform a payment action, not collection.</p><p>To solve these problems, UPI was devised.</p><p>More on UPI in Part 2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf150f249b5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The story of how I cast my vote. Finally.]]></title>
            <link>https://medium.com/@arunrajkumar/the-story-of-how-i-cast-my-vote-finally-cb0cc2ddbf9f?source=rss-ddf859c0c3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb0cc2ddbf9f</guid>
            <category><![CDATA[2016-election]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[sri-sri-ravi-shankar]]></category>
            <dc:creator><![CDATA[Arun Rajkumar]]></dc:creator>
            <pubDate>Mon, 16 May 2016 09:24:15 GMT</pubDate>
            <atom:updated>2016-05-16T09:48:21.472Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s been 14 long years since I was first eligible to cast my vote.</p><p>Thanks, partly to my apathy towards democracy, the way it is practised in India and partly towards the Election Commission’s apathy towards ensuring that my name is included in the electoral list despite my several attempts.</p><p>But, 2016 is another story altogether.</p><h4><strong>What changed?</strong></h4><p>In short, my association with Art of Living and the India Against Corruption movement.</p><p><a href="https://www.facebook.com/SriSriRaviShankar/">Sri Sri Ravi Shankar</a> often says,</p><blockquote>The world is not bad because there are some bad people, it is the silence of good people. <a href="http://www.artofliving.org/silence-good-people">Source</a></blockquote><p>I have always believed that I am reasonably good and the politicians are <strong>all</strong> <strong>always</strong> bad. But then I did nothing about it.</p><p>It wasn’t until the IAC movement that the realisation dawned in me that I have been a giver of bribe and am therefore as much a culprit as the taker of bribe.</p><p>I swore never to give or take a bribe. Ever. And that gave me tremendous strength to take on the corrupt system.</p><h4>Commendable job by the Election Commission, Tamil Nadu</h4><p>I unsuccessfully applied for inclusion in the electoral list 4 times in the past. But I guess I was 5th time lucky. :)</p><p>For this year, I hear, the Election Commission has done a stupendous job in aiming for #TN100Percent.</p><p>The fact that I had applied online and got a call from the nearby Corporation Office within a week to verify my documents is in itself a record of sorts.</p><h4>Whom did I vote for?</h4><p>Until a few days back, not a single party leader had come to my constituency even seeking my vote; let alone bribing me.</p><p>I haven’t received a single rupee, an ml of liquor or any of the items in the bouquet of freebies offered by the DMK or the AIADMK.</p><p>Why should I vote for any of them?</p><p>Is it that I am electorally irrelevant because I’m a Brahmin or because I live in a locality that is insignificant to their prospects?</p><p>Whatever it may be, I decided to show them all the finger by voting for my favourite party, the BJP.</p><p>The BJP candidate for my constituency, Mr. Sritharan, was the first and only politician I came across during this elections when he passed by my road and cheerfully asked me to vote for him.</p><h3>Arun Rajkumar on Twitter</h3><p>Showing my inked finger for the first time in 14 years. #TNVotes for @tamilnadubjp. May the blossom.pic.twitter.com/MTbna4gfDH</p><h4>How do I feel?</h4><p>Responsible. Hopeful. Proud.</p><p>Jai Hind!</p><p>PS: Thanks to <a href="https://medium.com/u/7c939f9190bb">Christopher</a> for inspiring me to write on <a href="https://medium.com/u/504c7870fdb6">Medium</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb0cc2ddbf9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>