Skip to content
Browse files

single HTTP request for performance

  • Loading branch information...
1 parent ad82e14 commit 93f6a5ec69c83fd4badeebbbd318a53ceaa0edcf @alexkingorg committed Jan 29, 2011
Showing with 12 additions and 3 deletions.
  1. +12 −3 index.html → index.php
View
15 index.html → index.php
@@ -1,3 +1,8 @@
+<?php
+
+ob_start('ob_gzhandler');
+
+?>
<!DOCTYPE html>
<html>
<head>
@@ -78,10 +83,14 @@
<p class="legal">Copyright &copy; 2011 Alex King. All rights reserved.</p>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
-<script type="text/javascript" src="./js/jquery-ui-1.8.9.custom.min.js"></script>
-<script type="text/javascript" src="./js/jquery.caret.min.js"></script>
<script type="text/javascript">
+<?php
+
+include('js/jquery-1.4.4.min.js');
+include('js/jquery-ui-1.8.9.custom.min.js');
+include('js/jquery.caret.min.js');
+
+?>
$(function() {
var keyUp = true;
$('.equation .math').live('keydown', function(e) {

0 comments on commit 93f6a5e

Please sign in to comment.
Something went wrong with that request. Please try again.