Support » Plugin: WP Super Cache » Need to unCache some images

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am assuming you have been loading the banners dynamically via PHP?

    What happens when you cache the page is that the HTML is generated once and then re-served repeatedly. This is why the image doesn’t change when cached.

    You need to load the banner images with javascript instead. This code runs on the client side (i.e. in the visitor’s browser) each time the page is loaded.

    Here is an example:
    http://www.peachpit.com/articles/article.aspx?p=2239154&seqNum=10

    Thread Starter SonicxXx

    (@sonicxxx)

    ok, Ill just leave it like is it. Thanx btw for answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to unCache some images’ is closed to new replies.