Is the user experience of a long, multi-page article improved by having a fixed table of contents?

Let's say you have a gigantic article (up to 30 pages) with lots of chapters and you want to display on your website and let's say you have created a page just for this particular article.

Should you have a fixed Table of Contents on it's side? Does this maximize the user experience?