background preloader

Apache

Facebook Twitter

Mod_pagespeed - Make the Web Faster. Mod_pagespeed System Integration - mod_pagespeed. Configuring Caching PageSpeed requires publicly cacheable resources to provide maximum benefit.

mod_pagespeed System Integration - mod_pagespeed

As discussed in the "Cache Extender" filter, the origin TTL specified in the server configuration file dictates how quickly changes made to the source can propagate to users' browser caches. However, using PageSpeed, resources referenced statically from HTML files will be served with a one-year cache lifetime, but with a URL that is versioned using a content hash. Configuring Server-Side Cache for PageSpeed In order to rewrite resources, PageSpeed must cache them server-side. Configuring the File Cache PageSpeed must be configured with a path where it can write cache files, tuned to limit the amount of disk space consumed. Apache: ModPagespeedFileCachePath "/var/cache/pagespeed/"ModPagespeedFileCacheSizeKb 102400ModPagespeedFileCacheCleanIntervalMs 3600000ModPagespeedFileCacheInodeLimit 500000 Nginx: Configuring the in-memory LRU Cache Configuring the Shared Memory Metadata Cache # never supported.

Google sort mod_pagespeed, un mod Apache pour accélérer les pages web. Le 04 novembre 2010, par Louis D’après ce qu’explique Google, le apporte pour l’instant 15 améliorations à-la-volée optimisant entre autre le cache, les aller-retour client-server et la bande passante. Superfast embedded fonts with @font-face. Now that font embedding is supported in all major browsers it has become increasingly common thanks to the bulletproof embedding technique.

Superfast embedded fonts with @font-face

However embedded fonts can add several milliseconds if not whole seconds and can even block rendering if not done correctly. Here you will find how to mitigate the performance implications if not eliminate them completely. Without optimization Font Squirrel is the place to go when you need embeddable fonts. They have a large selection of free fonts and a good font converter.

Remove unneeded files 10 styles is nice but way overkill. Optimize webserver delivery Removing all the extra styles helped a lot but that was the easy part. AddType font/ttf .ttf AddType font/otf .otf AddType application/x-woff .woff AddType image/svg+xml .svg AddType application/vnd.ms-fontobject .eot <IfModule mod_headers.c> <FilesMatch "\. First we add the type for each font we so apache knows what to call things. Embedded the Font files using mhtml Fonts and Start to Render Time.