SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Cache Images

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Location
    UK, Liverpool
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cache Images

    is there a script that will put the images i specify into the surfers cache, as i use the same images on every page of my site and they are the only images. This will greatly increase the download times.

    Thankyou for your help.

    matthew Taylor

  2. #2
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Images are automatically put in the cache. If you want to specifically put images in the cache that you aren't using at the moment, you can either use CSS or set the image dimensions to 1x1.

    <img src="..." width="1" height="1" />

    or

    <span style="display:none"><img src="..." width="400" height="350" /></span>

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Location
    UK, Liverpool
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thankyou for that!

    Matthew Taylor


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •