Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

How does Firefox implement prefetching?

  • 1 απάντηση
  • 1 έχει αυτό το πρόβλημα
  • 10 προβολές
  • Τελευταία απάντηση από Joshua Smith

more options

Hi,

I want to know how Firefox implement the web prefetching(not the part on how it gets and parses the fetch hint, but the part after it parsed the fetch hint, how does it fetch the objects, and store it in cache. If it didn't finish fetching, how does it send out the request to only ask for the part it doesn't get and so on). Could any one refer to me where I should look for the source code?

Thanks in advance!

Hi, I want to know how Firefox implement the web prefetching(not the part on how it gets and parses the fetch hint, but the part after it parsed the fetch hint, how does it fetch the objects, and store it in cache. If it didn't finish fetching, how does it send out the request to only ask for the part it doesn't get and so on). Could any one refer to me where I should look for the source code? Thanks in advance!

Επιλεγμένη λύση

Hello,

I think that the code you want is located here: https://mxr.mozilla.org/mozilla-central/source/uriloader/prefetch/nsPrefetchService.cpp.

If you have more questions, please ask the Firefox team in the #fx-team channel on Moznet.

(For recommended IRC clients, please read https://wiki.mozilla.org/IRC#Pick_an_IRC_client)

Ανάγνωση απάντησης σε πλαίσιο 👍 2

Όλες οι απαντήσεις (1)

more options

Επιλεγμένη λύση

Hello,

I think that the code you want is located here: https://mxr.mozilla.org/mozilla-central/source/uriloader/prefetch/nsPrefetchService.cpp.

If you have more questions, please ask the Firefox team in the #fx-team channel on Moznet.

(For recommended IRC clients, please read https://wiki.mozilla.org/IRC#Pick_an_IRC_client)