Skip to main content
Inspiring
April 28, 2016
Answered

It is used at an insert of images in a <div> a cache?

  • April 28, 2016
  • 1 reply
  • 352 views

Hi, everybody.

I have created a layer on the panel HTML5 in which preview of images in a certain folder are displayed.

If to change the image on a disk, then the script inserts the old not changed preview !  If the caching is used, then how to disconnect it?

This topic has been closed for replies.
Correct answer AndreyLarush

3 variant - create tempary name preview file

1 reply

Inspiring
April 28, 2016

Thanks for a prompt reply!

The direction of search of a solution true, but is overloaded all panel, it isn't convenient to work. I have put for tests 10 sec. on updating.

As it seems to me it is possible to think over options:

1. To remember an active window and after updating to switch to him

2. To start updating only when the <div> with pictures is active

3. To change every time a name of a preview and to store xml-file the list of compliance (001.psd = 28042016220005.jpg)

I will try the 3rd option so far if it doesn't turn out, then I will think over 1.

AndreyLarushAuthorCorrect answer
Inspiring
April 30, 2016

3 variant - create tempary name preview file