thephoeron / LLTHW

Learn Lisp The Hard Way source-code and full book text
MIT License
349 stars 57 forks source link

Runaway ajax requests #4

Closed thephoeron closed 10 years ago

thephoeron commented 10 years ago

There appears to be an issue with the jQuery code which loads the reference entry content into the modal, where it reloads all the scripts as well as the content several hundred times in some cases before successfully loading the content into the DOM.

This is affecting the performance of the web front-end, and skewing google analytics results.

thephoeron commented 10 years ago

Commit 0242628 didn't help.

Note: the number of extra requests being generated appears to be increasing exponentially with each selection of a reference symbol from the drop-down list.

thephoeron commented 10 years ago

Removed JSCL loading code from llthw-page template, removed /llthw.js from reference-basic-page template, re-introduced try-lisp-basic-page template. Seems to be running much smoother now.