httpd.conf - Does my apache cache my images? -


i have folder customer avatar upload , set apache server pointing folder customer avatar images. seem strange symptom system right following:

  1. i update avatar image in folder
  2. i access image browser, see displays old 1 on browser though refresh (ctrl+f5) many times.
  3. after time duration (nearly 1 min), refresh above url, , got lastest image dislayed.

is symptom relating apache configuration? me figure out setting affects? thank you!

first of guessing have not enabled of apache caching modules. if case behavior due browser's caching on client side. can verify opening url in browser's private session after updating image. can verify looking apache's access.log file , check if can see request entry accessing image or not. if it's not being directly served browser's cache.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -