| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 5 
				Karma: 10 
				Join Date: Jan 2017 
				
				
				
				Device: Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Content Server - How to clear localstorage?
			 
			
			
			Hi, I installed calibre-server3 on Linux (centos) behind reverse-proxy (nginx). Few versions ago I opened library in Firefox for Android, but there was a problem with opening/running search filters (problem was exists also in Firefox/chrome for PC).  After update to Calibre 3.16 and cleaning all localstorage (in developers tools) problem is fixed/resolved - search filters works in Firefox/Chrome for PC. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Now I want to clean localstorage on Android Firefox/Chrome, but there is no option for it. There is no DevTools on android browsers. How to clear/refresh localstorage on android browsers? Especially I want delete/refresh all data in key: "calibre-interface-data-current". Maybe it's good idea to add option to menu, to interface.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sure you can, IIRC it is done by through settings. A quick google will get you instructions. Ad interface data is automatically reloaded by the web app when you hit refresh, there should be no need to manually clear the cache.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 5 
				Karma: 10 
				Join Date: Jan 2017 
				
				
				
				Device: Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I don't want to clear cache of application (chrome/firefox) loosing all data, I want only clean cache of Calibre Content Server webpage. 
		
	
		
		
			I found on one computer corrupted localStorage data. There is some problem with old translations in "calibre-translations-current", which it's not reloaded, even when new version of calibre-server was installed on server. I attached file with wrong and correct data. There is a second problem. How to reload webpage when I change language of calibre-server e.g. from english to polish or polish to english without clearing webbrowser cache? Stack trace of error: Code: 
	uncaught exception: KeyError: Error at :0: Traceback (most recent call last): node_clicked@https://calibre3.kklimczak.eu/:13344:17 render_tag_browser@https://calibre3.kklimczak.eu/:13579:13 render_children@https://calibre3.kklimczak.eu/:13488:39 @https://calibre3.kklimczak.eu/:3331:28 render_markup@https://calibre3.kklimczak.eu/:3287:27 KeyError And raw message from console: Code: 
	Object { message: " ", stack: "__init__@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:2036:19\n__init__@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:2098:37\nKeyError@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:2094:5\nrender_markup@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:3287:27\n@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:3331:28\nrender_children@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:13488:39\nrender_tag_browser@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:13579:13\nnode_clicked@https://calibre3.kklimczak.eu/#library_id=Calibre&panel=book_list^search:13344:17\n", name: "KeyError", … }
Last edited by momus; 03-23-2018 at 05:16 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Browsers allow you to clear application cache per domain, so you can perfectly well clear only the calibre cache. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	And no changing interface language without clearing the cache is not supported.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			ANd that should allow switching the interface language without needing to clear the cache: https://github.com/kovidgoyal/calibr...440b4294350077
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| installing Calibre content server 3 on ubuntu server 16_04 | khyox | Calibre | 22 | 01-07-2018 12:34 AM | 
| Content server on ubuntu 12.04 headless server ImageMagick: libltdl.so.7 | Cool Javelin | Calibre | 5 | 04-08-2015 03:20 AM | 
| Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 08:26 AM | 
| 500 Internal Server Error accessing content server Calibre 0.8.8 | DaddyO57 | Calibre | 1 | 07-20-2012 07:08 PM | 
| Content server not serving all content. | False_Chicken | Calibre | 0 | 10-19-2011 06:56 PM |