Увеличение производительности: неиспользуемые скрипты отключены, jQuery подгружается с локального хранилища

This commit is contained in:
Dhaverd 2022-10-20 14:57:58 +08:00
parent c2c7e7a3f4
commit d3cbb202b5
5 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,7 @@
<link href="src/styles/style.css?v=01000036" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="src/styles/styleMobile.css?v=01000036" media="handheld,only screen and (max-device-width:480px)" />
<link rel="icon" href="src/img/favicon.ico">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--<script src="src/scripts/jquery.min.js"></script>-->
</head>
<body id="main">
<header id="header" class="default index-logo">

View File

@ -7,7 +7,7 @@
<link href="src/styles/style.css?v=01000036" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="src/styles/styleMobile.css?v=01000036" media="handheld,only screen and (max-device-width:480px)" />
<link rel="icon" href="src/img/favicon.ico">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--<script src="src/scripts/jquery.min.js"></script>-->
</head>
<body id="main">
<header id="header" class="default index-logo">

View File

@ -7,7 +7,7 @@
<link href="src/styles/style.css?v=01000036" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="src/styles/styleMobile.css?v=01000036" media="handheld,only screen and (max-device-width:480px)" />
<link rel="icon" href="src/img/favicon.ico">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--<script src="src/scripts/jquery.min.js"></script>-->
</head>
<body id="main">
<header id="header" class="default index-logo">

2
src/scripts/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<link href="src/styles/style.css?v=01000036" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="src/styles/styleMobile.css?v=01000036" media="handheld,only screen and (max-device-width:480px)" />
<link rel="icon" href="src/img/favicon.ico">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--<script src="src/scripts/jquery.min.js"></script>-->
</head>
<body id="main">
<header id="header" class="default index-logo">