Monthly Archives: October 2013

Leverage browser cache with .htaccess

A quick win for web performance. Modify your root directory’s .htaccess file to leverage browser cache. I’ve applied this solution several times and you receive instant results when testing on Google PageSpeed. This example illustrates this solution in seconds – in this case 2592000 (30 days).


<ifModule mod_expires.c>
	ExpiresActive On
	ExpiresDefault "access plus 2592000 seconds"
	ExpiresByType image/x-icon "access plus 2592000 seconds"
	ExpiresByType image/jpeg "access plus 2592000 seconds"
	ExpiresByType image/png "access plus 2592000 seconds"
	ExpiresByType image/gif "access plus 2592000 seconds"
	ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
	ExpiresByType text/css "access plus 2592000 seconds"
	ExpiresByType text/javascript "access plus 2592000 seconds"
	ExpiresByType application/javascript "access plus 2592000 seconds"
	ExpiresByType application/x-javascript "access plus 2592000 seconds"
	ExpiresByType text/html "access plus 2592000 seconds"
	ExpiresByType application/xhtml+xml "access plus 2592000 seconds"
</ifModule>

Thanks to, Samuel Santos

Frustrations with indexing Nutch 1.7 to Solr 4.5

I’m setting up Solr Search for my company’s domain and have stumbled onto roadblock after roadblock. Now that I’m at another obstacle my Google skills are pretty much depleted. This project is almost two weeks in with an aggressive timeline. I’ve had to resort to the Stackoverflow Gods for the first time…hopefully it works.

Here’s the link in detail, Exception in thread “main” java.io.IOException: Job failed! on Nutch 1.7