Advertisement
kavallo

Ejemplo lscache.js

Jun 3rd, 2015
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript" src="lscache.min.js">
  2. </script>
  3. <script type="text/javascript">
  4.      
  5.  
  6.     lscache.set('mensaje', 'hola!!! cache', 1);
  7.  
  8.  
  9.     setInterval(function() {
  10.  
  11.         console.log(lscache.get('mensaje'));
  12.  
  13.     },5000);
  14.  
  15. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement