I
I
Igor09832016-10-28 08:36:57
Yii
Igor0983, 2016-10-28 08:36:57

When using CostaRico/yii2-images after loading the page or F5 images are loaded with a big delay, how to fix this bug?

the page is already cached
to make it clearer what the problem is, for example, a project
or video https://www.youtube.com/watch?v=5JT76o-k2fY&featur...

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maxim Timofeev, 2016-10-28
@webinar

apparently this module does not make thumbnails on load, so they are created on demand. Accordingly, the 1st access to the photo will be long, especially if you use GD and not Imagick.
now I did not notice a long load

I
Igor0983, 2016-10-28
@Igor0983

it’s strange that I didn’t notice a long load
if you go down a little below the slider and press F5, then the pictures are loaded late
as in the video
thanks

V
Vlad, 2016-12-26
@Result007

Try to stop all actions on click

$('#form_test').on('submit', function(e) {
    e.preventDefault();
});

Like it should prevent a redirect.
PS And it's also more convenient to send data from the form using serialize().
But in this case, it will be necessary to put down the necessary name for the inputs.

V
Victor Golovko, 2016-12-26
@siptik

Look at the logs in the console. maybe somewhere an error crept in (for example, jquery is not connected)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question