Different behaviour of browsers while caching the same file.
- by Amrita
I am trying to implement mod_disk_caching. i wrote a php code as shown in the example of the tutorial i was following.
i fired the following in the terminal
a2enmod cache
a2enmod disk_cache
/etc/init.d/apache2 force-reload
then in the php code
";
?
now i tried running it using firefox.
In the first execution i got the following timestamp.
1308643975
here, when i press refresh, the timestamp changes (as the file is reloaded from the server)
and remains the same when i click the link again (as the file is retrieved from the cache).
Now i am trying the same with IExplorer.
As per my understanding, the timestamp should be the same as the subsequent request for the file will be retrieved only from the cache. But i got a different timestamp.
Can anyone explain me the reason for this? Why is it giving separate timestamps when the browsers are different?
Thanks and Regards,
AMJ