List Info

Thread: it's all about cache!!!




it's all about cache!!!
user name
2006-07-25 01:18:50


hi group,


Does anybody know how I can force a browser to fetch
information from a
server instead of using cahce? (using javascript since this
group
belongs to js)

I have alread used <meta  http-dquiv ...> they don't
work.



thanks 
amit.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
-~----------~----~----~----~------~----~------~--~---

it's all about cache!!!
user name
2006-07-26 08:19:38

amit wrote:
> hi group,
>
>
> Does anybody know how I can force a browser to fetch
information from a
> server instead of using cahce? (using javascript since
this group
> belongs to js)
>
> I have alread used <meta  http-dquiv ...> they
don't work.
>
>
>
> thanks
> amit.

Send it a dummy parameter in the get. I like to use a little
random
number.

So instead of foo.php?param=bar, which is cached because it
is the same
URL over and over again (smart little browser), use
foo.php?param=bar&junk=somerandomnumber

This way, the browser sees a different URL, so it can't
find it in the
cache table, and it actually sends it to the server.

Hope that helps.

~A!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
-~----------~----~----~----~------~----~------~--~---

it's all about cache!!!
user name
2006-07-26 17:53:11

Thanks! it was a big help.
now it works fine.

thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )