A
A
AlexPal4inskiy2014-08-25 10:51:57
PHP
AlexPal4inskiy, 2014-08-25 10:51:57

How to correctly display files via X-Accel-Redirect?

There is a directory with files, for example /files/n125/, it contains the file /files/n125/image.png, it must be opened at /files/image.png. For this purpose I use X-Accel-Redirect. But now there are more than 30 images on the page, they take a very long time to load, and on some computers they do not load completely at all.
Tell me, maybe I'm using X-Accel-Redirect incorrectly?
Or maybe there is a more efficient way?

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