|
19 | 19 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
20 | 20 | <meta name="description" content="Explore and learn Syncfusion JavaScript UI controls library using large collection of feature-wise examples for each components." /> |
21 | 21 | <meta name="author" content="Syncfusion" /> |
| 22 | + <meta http-equiv="Cache-Control" content="public, max-age=31536000"> |
22 | 23 | <link rel="shortcut icon" href="favicon.ico" /> |
23 | 24 | <link rel="manifest" href="./manifest.webmanifest"> |
24 | 25 | <link href="src/common/lib/content/roboto.css" rel="stylesheet"> |
25 | | - <link href="src/common/lib/content/bootstrap.min.css" rel="stylesheet" /> |
| 26 | + <link rel="preload" href="src/common/lib/content/bootstrap.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" /> |
| 27 | + <noscript><link href="src/common/lib/content/bootstrap.min.css" rel="stylesheet" /></noscript> |
26 | 28 | <link href="src/common/lib/highlightjs/styles/default.css" rel="stylesheet" /> |
| 29 | + <link rel="preconnect" href="https://fonts.googleapis.com"> |
| 30 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
27 | 31 | <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"></link> |
28 | 32 | <!-- Theme Reference --> |
29 | | - <link id="themelink" href="styles/tailwind3.css" rel="stylesheet" /> |
30 | | - <link href="styles/index.css" rel="stylesheet" /> |
| 33 | + <link rel="preload" id="themelink" href="styles/tailwind3.css" as="style" onload="this.onload=null;this.rel='stylesheet'" /> |
| 34 | + <noscript><link href="styles/tailwind3.css" rel="stylesheet" /></noscript> |
| 35 | + <link rel="preload" href="styles/index.css" as="style" onload="this.onload=null;this.rel='stylesheet'" /> |
| 36 | + <noscript><link href="styles/index.css" rel="stylesheet" /></noscript> |
31 | 37 | <link href="src/common/lib/content/codemirror.css" rel="stylesheet"></link> |
32 | 38 | <script src="src/skipChunk.js" type="text/javascript"></script> |
33 | | - <script src="src/common.min.js" type="text/javascript"></script> |
34 | | - <script src="src/common/embedding_model.js" type="module"></script> |
35 | | - <script src="src/common/azure_openai.js" type="module"></script> |
36 | | - <script src="src/ai-kanban/custom-model.js" type="module"></script> |
| 39 | + <script defer src="src/common.min.js" type="text/javascript"></script> |
| 40 | + <!-- <script src="src/common/embedding_model.js" type="module"></script> --> |
| 41 | + <!-- <script src="src/ai-kanban/custom-model.js" type="module"></script> --> |
| 42 | + <!-- <script src="src/common/azure_openai.js" type="module"></script> --> |
| 43 | + |
37 | 44 | <script> |
38 | 45 | var orgin = location.origin; |
39 | 46 | var baseref = location.href.split('#')[0].replace(orgin, ''); |
@@ -507,8 +514,13 @@ <h1 class='sb-sample-text' aria-level="1" role="heading">Data Grid</h1> |
507 | 514 |
|
508 | 515 | <!--</div>--> |
509 | 516 |
|
510 | | - |
511 | | - <script src="src/common/index.min.js" type="text/javascript"></script> |
| 517 | + <script> |
| 518 | + // Hide the "FREE TRIAL" button on localhost |
| 519 | + if (window.location.hostname === "localhost") { |
| 520 | + document.getElementById('download-now').style.display = 'none'; |
| 521 | + } |
| 522 | + </script> |
| 523 | + <script defer src="src/common/index.min.js" type="text/javascript"></script> |
512 | 524 | </body> |
513 | 525 |
|
514 | 526 | </html> |
0 commit comments