Hacker News new | past | comments | ask | show | jobs | submit login

>That seems fine to me. Implement it and if the users don't want it then it doesn't occur. You should still code as if it works.

Please correct me if I'm misinterpreting this statement. Are you saying it is acceptable if the code breaks if prefetch fails?




How would the absence of a prefetch break something?

Isn't this just a performance optimization?

I take the original statement to mean that worse case scenario is extra time to load.


Yes, that is what I meant. You may as well include the prefetch. And if the browser (or the user) doesn't want the prefetch they just get a slower load. If the user enables them the get the snappier experience.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: