Issue #161 (Cookie Limits, Multimedia, Git/GitHub/CLI, Testing/Debugging)
(Skip to the tools section below)
Today there are much better ways than cookies of storing data client-side when building apps. That being said, all developers should be relatively familiar with how cookies work and what, if any, limitations there are in the different browsers.
That data is generally taken from RFC2965, the older standard that defines HTTP cookies (dated October 2000). But that standard is long since obsolete, as indicated in RFC6265. In that latest document, it states the following minimum requirements for browsers:
Using this test page, you can try out the limits in different browsers. From my testing, I had the following results:
- At least 4096 bytes per cookie
- At least 50 cookies per domain
- At least 3000 cookies total
Interestingly, IE11 was the only browser to indicate a maximum total cookie data limit per domain.
- Latest Chrome and Opera: Maximum 180 cookies per domain; 4096 bytes per cookie;
- Latest Firefox: Maximum 150 cookies per domain; 4097 bytes per cookie;
- Internet Explorer 11: Maximum 50 cookies per domain; 5117 bytes per cookie
As mentioned, better storage options are now available (mainly LocalStorage), and highly recommended for larger bits of data. But cookies will likely still be in use for small bits of data, so it's good to be familiar with the limitations in the different browsers, keeping in mind that many online sources still reflect older statistics that are no longer accurate.
Now on to this week's tools!
|Support one of this week's sponsors:
SVG and Multimedia Tools
"A fast, caching, dynamic inline SVG DOM injection library."
"Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and PDF with the world's best auto-tracing software."
"Nodejs-based tool for optimizing SVG vector graphics files."
"A free and simple platform for creating visualizations with data maps. It allows you to upload CSV file with region data, and fully customize your map's appearance. Your map chart can be saved as PNG or SVG."
A visual image differential tool from the developers at Uber.
"A star rating jQuery plugin that uses SVG for easier customization."
"A Web Audio framework for making interactive music in the browser."
"A Plugin that compresses SVG assets using SVGO, right when you export them. This Plugin requires Sketch 3.8."
Git, GitHub and Command Line Tools
"Dead simple FTP-deployments for your smaller projects."
"Git, completely decentralised."
"Version control, collaboration & online coding for front-end developers."
"A widget showing your GitHub details that you can easily embed in your portfolio website."
"JS/HTML/CSS Terminal. The goal of the project is to create a beautiful and extensible experience for command-line interface users, built on open web standards."
"Swiss Army Knife for Mac OS X." No 3rd-party dependencies, and only uses OS X commands.
A Desktop client for GitHub.
Alias bash command on steroids.
"Lint JS and CSS files staged by Git."
"The customizable Commitizen plugin to help achieve consistent commit messages like the AngularJS team."
Testing and Debugging Tools
"A free load testing service that allows you to stress test your web-apps & apis with thousands of concurrent connections."
View details on the current device being used, including viewport size, resolution, browser features, etc.
ECMAScript Version Detector
Library and online tool to check which ES version different chunks of code belong to.
"A lint for HTTP requests and responses. It checks them for conformance to standards and best practices."
Chrome extension. "Shows background network activity of web pages after they are loaded." Useful for asynchronous loads that aren't indicated by the browser's UI.
"Continuously test your dependencies. Automatic compliance testing for all of the dependencies in your application."
A very basic fake API server to help you build front-end of web applications before the backend is ready.
"Collects all the data you need to understand what your code is doing before it goes to production. Built on Stackify's powerful, proven technology, but it's so lightweight it will never slow you down."
"Find broken links, missing images, etc in your HTML."
"Chrome DevTools extension to develop for the visually impaired."
"This npm package displays statistics about your web pages, including Google PageSpeed Insights score, resources count, and recommendations on how to fix performance issues, html errors and much more in one custom view."
"Automated browser compatibility testing. Browsera tests and reports cross-browser layout differences and scripting errors on your site."
"Run any browser instantly online. Click to run with no installs. Supports all versions of Chrome, Firefox, and IE."
A Tweet for Thought
Suggestions / Corrections
Made something? Send links via Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
Before I Go...
Apparently, this is what Instagram would look like on WIndows 95.
Thanks to all for subscribing and reading!