Javascript Caching - Caching at the Client-Side

Minimize disturbing page load or lazy img render effects with "unobtrusive Javascript".

The user should not intercepted with network circles and loading time. The Javascript is unobtrusive, if JS is not available the website is working anyway with the common doing.


The network circle time should overlayed with the watch and read time.

The waiting time (for the network circle) should decrease approximately to a view milliseconds by preloading content to the client. If the DOM tree is loaded preloading-engine starts for available anchors, while the user read or use the current content. After images, content, thumbs are loaded the Javascript and CSS performance time is done in minor milliseconds.
The layout build has no flickering and is not disturbed.


(1) The preload-engine search for all defined anchors

(2) It loads HTML content for the found anchors

(3) The site change woks without waiting for network cycle requests

(4) The aim is that the site change happens only on client-side

download page:



<script language="JavaScript" type="text/javascript"
<script language="JavaScript" type="text/javascript"

<script language="JavaScript" type="text/JavaScript">

  $(document).ready(function () {
      Anchor: 'a',
      Location: 'href',
      exclude: '.doNotPreload'



Commmon anchors are possible and recommended (unobtrusive Javascript).

<a href=“mos/index.html“>HOME</a>
<a href=“mos/central.html“>CENTRAL</a>

HTML Content:

Set a class at the container-tag in all pages which were reached from anchors.

<div class="Container"> 
   <h1>DBX 120A Subharmonic Synthesizer – NEW</h1>

demo pages:

© | Impressum | GitHub | Facebook |