How to Record a HAR File

3 min read

A HAR file is an archive of a browser session, including page load timings, requests sent to the server and the responses received. Support teams use it to diagnose and resolve slow website performance.

This article explains how to record a HAR file in different browsers.

Record the file while reproducing the slowdown, in the part of the website where it occurs.

Google Chrome, Opera and Yandex

Open Developer Tools by pressing F12 or Fn+F12.
  1. Select Network.
  2. Start logging by clicking the record button. A red button means recording is enabled.
  3. Clear the log by clicking button 3.
  4. Enable continuous logging and disable the cache by selecting Preserve log and Disable cache.
  5. Repeat the actions that make the website slow.
  6. Download the HAR file by clicking Export HAR.

Mozilla Firefox

Open Developer Tools by pressing F12 or Fn+F12.
  1. Select Network in the top toolbar.
  2. Clear the log by clicking the bin icon.
  3. Start logging by clicking the enable button. A pause icon means recording is enabled.
  4. Select Disable cache.
  5. Repeat the actions that make the website slow.
  6. Click Settings (⚙️) > Save All As HAR.

Microsoft Edge

Open Developer Tools by pressing F12 or Fn+F12.
  1. Click Network.
  2. Start recording the network log by clicking the record button. A red button means recording is enabled.
  3. Clear the network log using the clear button and disable the cache.
  4. Repeat the actions that make the website slow.
  5. Right-click any entry and select Save all as HAR with content.

Safari

  1. Click Develop > Show Web Inspector.
  2. Select Network.
  3. Disable the cache by selecting the corresponding checkbox.
  4. Clear the network log by clicking the bin icon.
  5. Click Clear > Preserve Log.
  6. Repeat the actions that make the website slow.
  7. Click Export.
Back to blog