Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

How does Firefox implement prefetching?

  • 1 답장
  • 1 이 문제를 만남
  • 43 보기
  • 최종 답변자: 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)