how to clear browsing history?

how to clear browsing history?

i have an index.php (all page divs are with data-dom-cache='true') as a multipage document.
the first page is a div "#index", and other internal page divs. but from it people can go to other pages (not interval to index.php).

when people go back to "#index" (from a page not internal to index.php), href="#index" is not going to work
since other pages are external and not fetched through ajax. so I set href="index.php".

since all the page divs in index.php are with data-dom-cache="true", clicking on a href="index.php" will just bring me to the first div in index.php which is "#index". and since its data-dom-cache="true", it will not go to the server and get the data and just bring it back from the browsing history.

because on index.php, i have no forward button or back button, so i want to clear the browsing history from the browser and jqm's browsing history just to clean up the memory of the browser. first, if i do this, is there any benifit? such as, lower the memory usage of the browser, etc. if people keep going from page to page so there is a large number of "pages" kept by the browser.

2nd, if there is some benifit, how can i clear the browsing history of a browser? is this even possible due to security concern? or the browsing history of jqm?

any idea is welcome.