The best way to prevent caching in dynamic web systems (a4d, asp, php, jsp, cgi, etc) is to append a random query parameter to every url. Using meta tags and sending special "no cache" headers sometimes works, but is mostly unreliable when users are using IE, which is unfortunately so popular.

I'm also seeing many or our system users have web proxies unknowingly placed on their networks -- as happened here -- which seems to make the problem worse. Consequently, users who previously didn't have caching problems now do.

My existing systems don't have these random query parameters, but need them. Modifying all my code to append them is a possibility, but will take a long time, plus I'll probably miss some places. Is there a better way to do this? Something generic that can be easily applied to every page?

Thanks,

Brad Perkins







Reply via email to