javascript - Delete cache files and free allocated memory for it programmatically -
i building app smarttv (javascript & html5). application slow due ram size on tv , processor speed.
i working solve issue. have decided delete cache file whenever new page loads, , user moves page.
is solution going (ram & cpu) problem? , how can delete them programmatically?
i have tried following code :
<meta http-equiv='cache-control' content='no-cache'> <meta http-equiv='expires' content='0'> <meta http-equiv='pragma' content='no-cache'>
will code set cache file size 0 after call in page?
no, not. code tell browser not cache page. apply html page. , not affect resources loaded on page.