Skip to main content

SJ's website is faster and more secure with Varnish


SJ has increased capacity and shortened response times for its website by implementing Varnish Web Cache. Response times on the home page have been improved by almost 300%, while the site can handle an unlimited number of simultaneous visitors without impairing response times.

For some years now, SJ has experienced disturbance to its internet-based system in the event of incidents or if train traffic is delayed by snow and winter conditions.

Varnish Cache is an Open Source-licensed web cache that gives substantially quicker response times immediately after installation and reduces the load on back-end systems. It also often requires fewer servers to deliver greatly increased capacity. Varnish Cache is currently used on more than 600,000 websites all over the world, including by Google, Facebook and Twitter. Varnish Cache has been developed by the Swedish-Norwegian Varnish Software, which also offers professional services in connection with the solution. The implementation of Varnish for SJ was performed by Redpill Linpro.

Varnish has initially been implemented on selected parts of and SJ can already confirm its success.

"Varnish Cache has given us great effective capacity. When train traffic is experiencing disturbances, many of our customers need information about the traffic position. Load on the site doubles in such circumstances, but with the aid of Varnish Cache we have reduced response time on the home page by half - even in real problem situations," says Niklas Sjövall.

SJ is a good example of the benefits Varnish Cache can bring to an organisation with a pressing need for rapid response times and high accessibility and which needs to be able to provide unlimited simultaneous users with information on certain occasions.

"We believe that many other websites with a similar need for accessibility and a need to clear incidents would derive great benefit from using Varnish, including in the public sector, for example," says Per Dahl, Swedish Sales Director of Redpill Linpro.

About SJ

SJ is a state-owned company, the task of which is to operate profitable passenger transport. Every day 100,000 people travel with SJ and 4,000 employees work to make train travel safe, reliable, convenient and simple. SJ has 600 departures a day and serves 160 stations between Copenhagen and Narvik. All travel by SJ trains in Sweden carries the Good Environmental Choice label. SJ had sales of SEK 8 billion in 2011.

About Varnish Software

Varnish Software is a world-leading supplier of Open Source web applications for accelerating software. This tried and tested software helps customers to increase sales and customer loyalty while reducing costs and supporting green initiatives. Varnish Software and its global network of partners provide professional services including 24/7/365 support, training, customised development and implementation

Leading websites worldwide rely on Varnish Cache, including, Twitter, E-bay and The New York Times.

Varnish Software has offices in Stockholm and Oslo. More information about Varnish Software. More information about Varnish Cache

Written by Susannah Eriksson