Caching issues on Android (1 Viewer)

Reon

Portal Member
July 14, 2007
12
2
Home Country
Norway Norway
I experienced some caching issues on my android phones (both 2.1 & 2.2) on the channel overview page.
Eg /iPhone/Default.aspx#_Channel198

Nothing is appended to apache's access.log when I enter a channel the second time which tells me that there is a caching issue in the browser on the device. Had to refresh the page to get an updated page. Neither Chrome or Firefox on my laptop suffers from this. They work.

I solved the issue by modifying the http headers in ipimp.conf using mod_headers, setting the headers Pragma, Cache-Control and Expires to be sure nothing is cached by the browser.

LoadModule headers_module modules/mod_headers.so
Header add Pragma "no-cache"
Header add Cache-Control "no-cache, must-revalidate
Header add Expires "Mon, 26 Jul 1997 05:00:00 GMT"

Any one else experiencing this ?
 

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
Same issue here on my 1&1 smartpad with android 2.1. I never could reproduce it to a specific root cause. It seemed to happen randomly. Iwill try your fix - thanks!
 

Users who are viewing this thread

Top Bottom