Datatable and client filtering
- Hi everybody,
Before I do it myself, does someone has port it :
http://yuiblog.com/blog/2007/04/23/dataview/ to yui 2.6 ? Specially
the filter part ;).
ps : I've seen than a lot of person already asked it but I never saw
any correct answer so I give me a chance.
On Thu, Nov 27, 2008 at 6:47 PM, mgall2000 <mgall2000@...> wrote:
> IE is caching the data for a page, so record updates are not reflected
> after a page refresh, because IE is using the cache data instead.
> There are a few messages about the problems with the IE cache, but
> haven't yet found a working solution.
> 1. I can change the default setting in IE to 'Check for newer
> versions every time I visit a page'. This does solve the problem, but
> I can't ask every visitor to the site to change their IE settings.
> 2. I tried sending suggested headers with the php header() function
> like this:
> header('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1
> header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past
> This seems like a good solution, but it didn't seem to work. Are there
> any examples of how to do this?
> 3. I tried using meta tags like this:
> <meta http-equiv="PRAGMA" content="NO-CACHE">
> <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
> But that didn't seem to work either.
> 4. I read about a url trick, but that clogs a user's cache, so it's
> probably a method of last resort.
> 5. There was also a mention of setting the web server to serve 'raw'
> files, but it's not clear how to best proceed with this approach.
> What's the best approach to get IE not to cache a page so
> that the yui datatable contents are accurate after a page refresh?