开发者

Mozilla doesn't "Refresh" the page

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 datepi开发者_JAVA百科cker2 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 ??


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜