FireFox는 로드된 페이지를 클릭할 때 ns_error_net_interrupt를 얻습니다.

FireFox는 로드된 페이지를 클릭할 때 ns_error_net_interrupt를 얻습니다.

FireFox가 내 웹사이트에 연결 중이지만 이미 방문한 페이지에 액세스하면 무작위로 연결되지 않아 오류가 발생합니다.

보안 연결 실패

Chrome과 Microsoft Edge에는 이러한 문제가 없습니다.

이상한 점은 페이지를 다시 로드해도 작동하지 않는다는 것입니다. 나는해야한다Shift 및 다시 로드를 사용하여 페이지를 다시 로드합니다. 그런 다음 페이지를 다시 가져오고 Shift 및 다시 로드를 사용할 때 항상 로드됩니다.

이런 일이 발생하지 않도록 하려면 어떻게 해야 합니까?

html 페이지는 Apache 2.4.57 서버에서 제공하는 Brotli 파일을 미리 압축한 것입니다.

<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault                  "access plus 1 day"
    ExpiresByType text/asp          "now"
    ExpiresByType text/html         "now"
    ExpiresByType text/css          "access plus 1 day"
    ExpiresByType video/x-m4v       "access plus 15 days"
    ExpiresByType image/jpg         "access plus 5 days"
    ExpiresByType image/jpeg        "access plus 5 days"
    ExpiresByType image/gif         "access plus 5 days"
    ExpiresByType image/png         "access plus 5 days"
    ExpiresByType application/pdf   "access plus 1 month"
    ExpiresByType text/x-javascript "access plus 1 month"
    ExpiresByType application/x-shockwave-flash "access plus 1 month"
    ExpiresByType image/x-icon      "access plus 1 month"
</IfModule>
<FilesMatch "\.(html)$">
    FileETag None
    <IfModule mod_headers.c>
        Header unset ETag
        Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
        Header set Pragma "no-cache"
        Header set Expires "access plus 3 hours"
    </IfModule>
</FilesMatch>

FireFox에서 다음 기본 연결 설정을 사용하고 있습니다.

시스템 프록시 설정 사용

연결이 이루어지지 않고 ns_error_net_interrupt오류가 발생하는 경우 SSL 정보:

유효성 검사: 지정되지 않음

동일한 페이지를 다시 로드한 후(Shift 및 다시 로드 사용) SSL 정보 - 다시 작동합니다.

유효성 검사: 암호화하자

답변1

FireFox는 만료된 페이지에 다시 연결하는 것을 좋아하지 않는 것 같았습니다.

    ExpiresByType text/asp          "now"
    ExpiresByType text/html         "now"

으로 변경할 때

    ExpiresByType text/asp          "access plus 3 seconds"
    ExpiresByType text/html         "access plus 3 hours"

일이 작동하기 시작했습니다.

관련 정보