Created
April 2, 2009 14:57
-
-
Save avishai/89233 to your computer and use it in GitHub Desktop.
why is this taking so long to render?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<meta name="description" content="The premier Jewish dating site. Join and meet cool Jews today. Completely free!" /> | |
<title><%= @page_title %></title> | |
<%= javascript_include_tag :defaults, "/facebox/facebox.js", :cache => true %> | |
<%= stylesheet_link_tag "960", "application", "/facebox/facebox.css", :cache => true %> | |
<%= yield :head -%> | |
<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js"></script> | |
<script type="text/javascript"> | |
GS_googleAddAdSenseService("ca-pub-7576864740416628"); | |
GS_googleEnableAllServices(); | |
</script> | |
<script type="text/javascript"> | |
GA_googleAddSlot("ca-pub-7576864740416628", "jewforme_home_300x250"); | |
GA_googleAddSlot("ca-pub-7576864740416628", "jewforme_profile_300x250"); | |
GA_googleAddSlot("ca-pub-7576864740416628", "jewforme_users_160x600"); | |
GA_googleAddSlot("ca-pub-7576864740416628", "jewforme_users_300x250"); | |
GA_googleAddSlot("ca-pub-7576864740416628", "jewforme_messages_300x250"); | |
</script> | |
<script type="text/javascript"> | |
GA_googleFetchAds(); | |
</script> | |
</head> | |
<body> | |
<div id="header-background"> | |
<div id="header-container" class="container_16"> | |
<%= render :partial => "users/user_bar" %> | |
<div id="logo"> | |
<%= link_to image_tag('/images/layout/logo.png', :border => "0"), "/" %> | |
</div> | |
<div id="navigation"> | |
<ul> | |
<li><%= link_to image_tag('/images/layout/tab-home.png', :alt => "Home"), home_path, :class=> "tab" %></li> | |
<% if logged_in? %> | |
<li><%= link_to image_tag('/images/layout/tab-profile.png', :alt => "My Profile"), current_user, :class=> "tab" -%></li> | |
<% end %> | |
<% if logged_in? %> | |
<li><%= link_to image_tag('/images/layout/tab-matches.png', :alt => "My Matches"), users_path(:user => {:sex => current_user.sex, :sex_seeking => current_user.sex_seeking, :min_age => current_user.min_age, :max_age => current_user.max_age}), :class=> "tab"%></li> | |
<% else %> | |
<li><%= link_to image_tag('/images/layout/tab-matches.png', :alt => "My Matches"), users_path, :class=> "tab" %></li> | |
<% end %> | |
<li><%= link_to image_tag('/images/layout/tab-messages.png', :alt => "Messages"), messages_path, :class=> "tab" %></li> | |
</ul> | |
</div><!-- end navigation --> | |
</div><!-- end header-container --> | |
</div> | |
<div id="main-container" class="container_16"> | |
<!-- <div id="main-container-cap" class="grid_16"> </div> --> | |
<% if !flash.empty? %> | |
<% flash.each do |f| %> | |
<div class="grid_16 <%= f[0] -%>"><%= f[1] %></div> | |
<% end %> | |
<% end %> | |
<%= yield %> | |
</div> | |
<div id="footer-background"> | |
<div class="container_16"> | |
<div id="footer"> | |
<ul> | |
<li><%= link_to "About", page_path("about") -%></li> | |
<li><%= link_to "Contact", page_path("contact") -%></li> | |
<li><%= link_to "Resources", page_path("resources") -%></li> | |
<!-- <li><%= link_to "Press", page_path("press") -%></li> --> | |
<li><%= link_to "Privacy & Terms of Use", page_path("privacy") -%></li> | |
<li><%= link_to "Follow Us", "http://twitter.com/jewforme" %></li> | |
<li><%= link_to "Become a Fan", "http://www.facebook.com/pages/Jew-for-Me/66545301354" %> | |
</ul> | |
<p class="legal">Jew for Me does not conduct background checks and cannot be held responsible for any content or information posted by users.</p> | |
<p class="copyright">Copyright © 2009 Jew for Me.</p> | |
</div> | |
</div> | |
</div><!-- end footer background --> | |
<script type="text/javascript"> | |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | |
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<script type="text/javascript"> | |
try { | |
var pageTracker = _gat._getTracker("UA-230915-12"); | |
pageTracker._setVar(<%= logged_in? ? "'logged-in'" : "'anonymous'"-%>); | |
pageTracker._trackPageview(); | |
} catch(err) {} | |
</script> | |
<script src="http://static.getclicky.com/75625.js" type="text/javascript"></script> | |
<noscript><p><img alt="Clicky" width="1" height="1" src="http://static.getclicky.com/75625-db7.gif" /></p></noscript> | |
<% if logged_in? %> | |
<%= toksta_embed_tag(current_user) -%> | |
<% end %> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="grid_5"> | |
<h1>Jew for Me is 100% free Jewish dating.</h1> | |
<p><b>Meeting Jewish singles is now free, easy, and fun for everyone.</b> | |
We give you the features you need to start chatting, and then get out of your way.</p> | |
<p>It's free and fun. Why wait?</p> | |
<p> | |
<%= link_to image_tag("/images/layout/signup-button.png", {:alt => "Sign Up", :align => "absmiddle", :height => 47, :width => 179, :border => 0}), signup_path, :title => "Sign up for free" -%> | |
<span>or <%= link_to "log in", login_path -%></span> | |
</p> | |
<!-- <p> | |
<a href="http://www.facebook.com/login.php?api_key=6d55489cb1f01cf60e630abb207cdd8f&v=1.0" title="Log in using Facebook"><img src="http://static.ak.facebook.com/images/devsite/facebook_login.gif" alt="Login using Facebook" align="absmiddle"></a> | |
</p> --> | |
</div> | |
<div id="homepage-search" class="grid_6 alpha omega"> | |
<%= render :partial => "users/search" -%> | |
</div><!-- end right column --> | |
<div id="homepage-ad" class="grid_5 alpha omega"> | |
<a href="/?format=mobile"> | |
<img src="/ads/iPhone-Ad-1-300x250.jpg" width="300" height="250" alt="Browse Jew for Me on your iPhone or BlackBerry" border="0" /> | |
</a> | |
</div><!-- end homepage-ad --> | |
<div id="home-matches" class="grid_16"> | |
<h2 class="matches">Meet some of our newest members</h2> | |
<%= render :partial => 'new_users' %> | |
<div class="grid_16 pagination"> | |
<%= link_to "Men »", users_path(:user => {:sex => 'M'}) %> <%= link_to "Women »", users_path(:user => {:sex => 'F'}) %> | |
</div> | |
</div><!-- end home-matches --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processing HomeController#index (for 213.181.226.60 at 2009-04-02 12:05:35) [GET] | |
Parameters: {"action"=>"index", "controller"=>"home"} | |
Rendering template within layouts/application | |
Rendering home/index | |
[paperclip] Paperclip attachment photo on User initialized. | |
[paperclip] Paperclip attachment photo on User initialized. | |
[paperclip] Paperclip attachment photo on User initialized. | |
[paperclip] Paperclip attachment photo on User initialized. | |
[paperclip] Paperclip attachment photo on User initialized. | |
[paperclip] Paperclip attachment photo on User initialized. | |
Completed in 4585ms (View: 4197, DB: 66) | 200 OK [http://jewforme.com/] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment