rblog

Blog performance improvement

I started to get preeettyyy annoyed by the bad performance of my blog. Did some research and decided just give the two lines a try in the .htaccess file


AddOutputFilterByType DEFLATE text/html text/plain text/xml
SetOutputFilter DEFLATE 


And, damn! It seems to work immediately and provide a major performance improvement. Why have I not done this before?

@Update:

Also added

<IfModule mod_expires.c>
       ExpiresActive On
       ExpiresByType application/javascript "access plus 1 week"
       ExpiresByType text/css        "access plus 1 month"
       ExpiresByType image/gif       "access plus 1 month"
       ExpiresByType image/png       "access plus 1 month"
       ExpiresByType image/jpeg      "access plus 1 month"

       # Now we have Expires: headers, ETags are unecessary and only slow things down:
       FileETag None
</IfModule>

Just now I still have some performance issues, but I suspect that to be caused by the database server struggling, not the web server.

Spinning to Noah And The Whale

Yesterday, spinning to Noah And The Whale

While writing this I found a review of the album saying

. I gave it three out of ten for the first two songs and the last one. All the music inbetween is aimed at 12-15 year old girls. I thought I was listening to the best of Australian Idol. Songs have no depth and are aim at a quick buck!!

Utter crap and is the worst album of my collection. The only positive is that I also bought the new strokes album which is gold.

I do no think it was that bad, meaning, it was easy listening, but I must admit that I got a bit annoyed of the lyrics. And that does not happen often, me paying attention to the lyrics.

Spinning to Astroburger

Found the album on the newly released list on Wimp, needed an album that did not last for more than about 30 minutes, spot on. Have heard of them before, did not remember that I had heard them, not my cup of tea.

Remove lines from file

While reviewing a SystemOut.log-file created by WebSphere I needed to remove all lines containing “SystemOut”. Luckily I have installed Cygwin, so Perl to the rescue. Found this Q&A at StackOverflow.

Ended up with

perl -ni.bak -e 'print unless m!^.*SystemOut.*!' SystemOut.log

Original file > 80.000 lines, resultfile 195 lines…a bit easier to read…

Heia Rye!!

Me and the boys up at Haugerud Senter on the 1’st of May, standing on the bridge cheering at Rye Tempoen passing by, Jan Henrik is somewhere in the picture, so we shouted “Heia Rye, heia Jan Henrik!”

Bruce Springsteen live in concert

Yesterday me and Elin together with Anette and Dag Anders went to see Bruce Springsteen & The E Street Band live in concert at Telenor Arena. Picture from before it all started.

And the show is on, and what a show. They are pretty amazing live.

Happy couple on our way home.

Spinning to Johnossi

Today, finally, after a to long break, I did my “Spinning to” again. Today spinning to Johnossi and their latest album Transitions. Enjoyed it, especially Gone Forever. At the end, the album had a bit to much ballads, I would prefer that they mixed the songs a bit more while spinning to it, but hey…not a big issue. I recommend listening to it.

Hjem