0

I have a site with multiple page. Each page has a background image I'd like to cache so it's not reloaded between pages.

I don't want to cache anything else.. only this one image.

How do I do that ? Can someone point me in the right direction.

Thanks

Rocket
  • 1,065
  • 2
  • 21
  • 44
  • You can solve this with Jquery/javascript http://stackoverflow.com/questions/10240110/how-do-you-cache-an-image-in-javascript – Kim Oct 08 '15 at 12:58

1 Answers1

2

You can do that in apache2 configuration. Here are some of ways to do that

  1. Using htaccess and mod_expire. Please see Details
  2. Using mod_disk_cache reference here apache mod_disk_cache
Community
  • 1
  • 1
ji-ruh
  • 725
  • 1
  • 7
  • 24