shinsenter / defer.php

🚀 A PHP library that focuses on minimizing payload size of HTML document and optimizing page speed.
https://github.com/shinsenter/defer.php
MIT License
40 stars 6 forks source link

default_defer_time no function? #22

Closed BlackKite84 closed 5 years ago

BlackKite84 commented 5 years ago

The time is not set

shinsenter commented 5 years ago

What did you mean "the time"?

BlackKite84 commented 5 years ago

sorry,

this Option

$defer->default_defer_time = 100;

i have set ist to 3000 not effect

shinsenter commented 5 years ago

There is almost no visual difference between 100ms and 3s. You can use browser's Developer Tool (press F12 key) to watch how requests are sent, and see the difference in Waterfall graph.