V
V
vdorokhin892020-06-19 07:52:46
Images
vdorokhin89, 2020-06-19 07:52:46

How to disable image caching on the server? Or can you recommend something else?

I put an owl carousel on the site. For this case, I had to (for family reasons) also create a form for adding pictures to a folder, from which the php script reads them and displays them in a cycle in the desired form for the slider. The form should not only be able to add / remove pictures, but also change their order. I didn’t think of anything better than to call the pictures numbers and just to change their order, change the names of the pictures in places. and everything even works, but only in the form on the output of the table of elements, changes are displayed only after the page cache is reset, and this saddens me (. then errors began to pop up (but if you cut the authorization on the local server, everything worked). so that the changes are immediately displayed on the page. The reordering takes place with a page reload. Or maybe you can suggest some more appropriate sort order. Can push the list of pictures in a DB? although storing in a table in each line several characters (name and order) is also somehow strange. and when you add an image, it also does not immediately show up

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question