CodeMonkeys Meeting notes 2012-10-18
(Redirected from Oct 18 2012 CodeMonkeys Meeting)
Jump to navigation
Jump to search
<< 2012-10-04 | CodeMonkeys Meeting Minutes | 2012-11-08 >> |
---|
Topic
Google's mod_pagespeed speeds up your site and reduces page load time. This open-source Apache HTTP server module automatically applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) without requiring that you modify your existing content or workflow.
Links
Test Scenario Without mod_pagespeed
- Local Copy of midsouthmakers.org running on Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-27-generic x86_64) Virtual Machine (via Virtualbox)
- 4 CPUs - 4,906 MB RAM
- Pointed local Windows hosts file to internal IP of VM.
- Firefox 16.0.1 + Firebug 1.10.4 + Page Speed 1.12.9
- Loaded midsouthmakers.org in Firefox, ran Analyzed index page via Page Speed and score was 82/100
- Red Result:
- Leverage browser caching
- Yellow Results:
- Serve resources from a consistent URL
- Defer parsing of JavaScript
- Serve scaled images
- Red Result:
Test Scenario With mod_pagespeed
- Local Copy of midsouthmakers.org running in a 64bit Ubuntu Server 12.04 Virtual Machine (via Virtualbox)
- 4 CPUs - 4,906 MB RAM
- Pointed local Windows hosts file to internal IP of VM.
- Firefox 16.0.1 + Firebug 1.10.4 + Page Speed 1.12.9
- Installed mod-pagespeed-stable_current_amd64.deb & restarted apache2
- Hard Refreshed midsouthmakers.org index, ran Analyzed index page via Page Speed and score was 83/100
- Red Result:
- Leverage browser caching
- Yellow Results:
- Serve resources from a consistent URL
- Defer parsing of JavaScript
- Red Result:
Further Configuration
- vi /etc/apache2/mods-available/pagespeed.conf
- Enabled ModPagespeedStatistics
- refresh a few times to simulate web traffic
- view midsouthmakers.org/mod_pagespeed_statistics
cache_time_us: 23271 cache_hits: 0 cache_misses: 116 cache_expirations: 42 cache_inserts: 42 cache_deletes: 0 instrumentation_filter_script_added_count: 0 cache_extensions: 336 not_cacheable: 0 css_file_count_reduction: 0 css_filter_blocks_rewritten: 6 css_filter_parse_failures: 0 css_filter_rewrites_dropped: 0 css_filter_total_bytes_saved: 462 css_filter_total_original_bytes: 1520 css_filter_uses: 27 css_imports_to_links: 0 css_elements_moved: 0 domain_rewrites: 0 google_analytics_page_load_count: 0 google_analytics_rewritten_count: 0 image_file_count_reduction: 0 image_rewrites: 0 image_rewrites_dropped_intentionally: 0 image_rewrites_dropped_due_to_load: 0 image_rewrite_total_bytes_saved: 0 image_rewrite_total_original_bytes: 0 image_rewrite_uses: 0 image_inline: 0 image_ongoing_rewrites: 0 image_webp_rewrites: 0 inserted_ga_snippets: 0 javascript_blocks_minified: 55 javascript_minification_failures: 0 javascript_total_bytes_saved: 2765 javascript_total_original_bytes: 20992 javascript_minify_uses: 55 js_file_count_reduction: 0 converted_meta_tags: 9 url_trims: 0 url_trim_saved_bytes: 0 resource_url_domain_rejections: 0 rewrite_cached_output_missed_deadline: 110 rewrite_cached_output_hits: 916 rewrite_cached_output_misses: 122 resource_404_count: 0 slurp_404_count: 0 total_page_load_ms: 0 page_load_count: 0 resource_fetches_cached: 0 resource_fetch_construct_successes: 0 resource_fetch_construct_failures: 0 num_flushes: 10 num_fallback_responses_served: 0 num_conditional_refreshes: 0 total_fetch_count: 0 total_rewrite_count: 0 num_rewrites_executed: 6 num_rewrites_dropped: 0 serf_fetch_request_count: 42 serf_fetch_bytes_count: 10583 serf_fetch_time_duration_ms: 2317 serf_fetch_cancel_count: 0 serf_fetch_active_count: 0 serf_fetch_timeout_count: 0 serf_fetch_failure_count: 0 cache_flush_count: 0 Pagespeed Resource Latency Histogram >Raw Histogram Data... Rewrite Latency Histogram >Raw Histogram Data... Backend Fetch First Byte Latency Histogram >Raw Histogram Data... Html Time us Histogram >Raw Histogram Data...