0

I have a page with keith-wood's datepicker, and jqplot graphs. Basically, the date picker 1 is set to todays date by default, and date picker 2 is set to a day before. If you select a date in datepicker1, the date in datepicker2 goes a date before.

Now, all is well in chrome if I refresh, but in FF, if I refresh, the datepicker1 should come to default date, but it is not coming back to today, it goes on subtracting a day.

I did a ctrl+shift+r and it reloads as it should, but regular f5 will display the problem of caching.

How do I avoid this ??

Shrinath
  • 6,892
  • 12
  • 45
  • 82

1 Answers1

1

Try any of these meta in your page head, particularly this one.

You can force a cache-clear, but keep in mind this will significantly affect your loading time. Also, IE has a specific combination of headers that accomplish this task, so be careful to look for and test for those.

Community
  • 1
  • 1
Ben
  • 47,286
  • 44
  • 159
  • 208