instantpage / instant.page

Make your site’s pages instant in 1 minute and improve your conversion rate by 1%
https://instant.page
MIT License
6.05k stars 205 forks source link

Fix prefetching after mouseout #122

Open ivansimplistic opened 10 months ago

kurtextrem commented 10 months ago

doesn't that potentially delay prefetching a bit? (we clear, then set the timer again)

ivansimplistic commented 10 months ago

you are right, I just changed it to only set a new timeout if the _mouseoverTimer doesn't evaluates to false if (!_mouseoverTimer) {...}

On Thu, Nov 30, 2023 at 1:57 PM Jacob Groß @.***> wrote:

doesn't that potentially delay prefetching a bit? (we clear, then set the timer again)

— Reply to this email directly, view it on GitHub https://github.com/instantpage/instant.page/pull/122#issuecomment-1834164677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCKLTTQTLSBRUVDU2MND6DYHC3GJAVCNFSM6AAAAABABQDOKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZUGE3DINRXG4 . You are receiving this because you authored the thread.Message ID: @.***>

--

[image: Simplistic] https://simplistic.com/

Ivan Hojvat

HEAD OF ENGINEERING simplistic.com [image: Simplistic] https://simplistic.com/

IG https://www.instagram.com/simplistic.team/ [image: Simplistic]

FB https://www.facebook.com/smplstc [image: Simplistic] https://simplistic.com/

IN https://www.linkedin.com/company/simplistic/mycompany/