Latest posts

Browse topics

How to Specify a Vary: Accept-Encoding header Nginx

The other day I visited tools.pingdom.com to test performance for my blog (the one you are currently reading) and I did fine I have a two bottlenecks:

I managed to handle query string issue for static resources and then I headed to find a solution for the Specify a Vary thing. Since it's not a Drupal related issue I did some search regarding Nginx and I soon found excellent solution on stackoverflow.com

How to Specify a Vary: Accept-Encoding header Nginx 

Inside the server { of the domain/subdomain that you want to set it, add

sudo nano /path/to/domain/sites-available/yourdomain.com

gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;

Save the file (CTRL-O and CTRL - X)  and restart Nginx (sudo /etc/init.d/nginx restart)

I managed to improve my performance score from 82 to 88 on tools.pingdom.com after this.

The Evangelical Lutheran Church of Skrunda

History of the Evangelical Lutheran Church of Skrunda dates back to 1668 as stated on official Skrunda municipality website. I took my camera and went to memorize this place.

Skrunda church

 Skrunda church

Bell tower of Skrunda Church

Bell tower of Skrunda Church

Back view of Skrunda Church

Back view of Skrunda Church

Burial near Skrunda church

Burial near Skrunda church

According to the inscription on the cross - pastor Johann Daniel Goldmann is buried here

Skrunda church

Skrunda church

I hadn't a chance to enter this church (ups, doors were closed) but according to Skrunda municipality  the pulpit and the altarpiece of Skrunda church were installed at the end of the 18th century, but the organ of the church was set up in the 19 th century. During the First World War, the church suffered considerable damage and it is known that a stable was created there. Although the church was reconstructed in 1920, serious conservation works and repairs to building were carried out in 1995. There are several legends about the church as well. 

Skrunda Cultural Center

Right, I just made this name - Skrunda Cultural Center what is a direct translation from Latvian Skrundas Kultūras Centrs.

I wouldn't probably mention this place on my blog, but since lately I have been travelling around Skrunda a lot, I decided why not?! Another reason I'm listing this place here - you can get a free high-speed Wi-Fi internet here (at least I managed to get some).

Seriously speaking - Skrunda Cultural Center is a great place where locals gather to participate in different hobby groups, like singing, dancing, theater play (you name it) - and probably some major events are held here as well.

Right, show me the pictures buddy:

Conference hall at Skrunda Cultural center

Conference hall at Skrunda Cultural center

Well it's more an assembly hall - but look up there (right top corner) there is some equipment to handle some basic interpretation services.

Piano at Skrunda Cultural center

Piano at Skrunda Cultural center

You can play some classical music here

Skrunda Cultural center

Skrunda Cultural center

Lovely alley near Skrunda Cultural Center

Lovely alley near Skrunda Cultural Center

The Stender’s Bar&Club in Kuldīga

I believe soon I will have a complete list of Kuldīga restaurants, but prior that I would like to introduce you another interesting place in this charming Curonian city, meet The Stender's Bar & Club. 

Stender's Bar&Club is located on charming street in Kuldīga

Stender's Bar&Club is located on charming street in Kuldīga

Its address is Liepājas street 3

Menu desk at Stender's

Menu desk at Stender's

Menu at Stender's Bar

Menu at Stender's Bar

Interior at Stender's

Interior at Stender's

Daily dose of Coke

Daily dose of Coke

Served with ice

Poster at Stender's Restroom

Poster at Stender's Restroom

Yes, I even take my camera to restrooms

Outdoor patio at Stender's place

Outdoor patio at Stender's place

Outdoor patio at Stender's place

Outdoor patio at Stender's place

Or me learning my camera

Meal at Stender's

Meal at Stender's

Meal at Stender's

Meal at Stender's

I must admit in photos this meal looks much better as it tastes. Well it tastes pretty good - but instead of honey/mustard sauce you got served... a ketchup... 

The bottom line

Compared to other restaurants/bars in Latvia prices here at Stender's are pretty high (it's like we paid some 20 EUR for some average meal here). But hey interiour is cool. Sure, why not. Go visit once in Kuldīga.

Home Remodelling - How It All Starts

Recently my better part and I became a lucky home-owners, we went through a long and bureaucratic procedure to inherit a house in scenic place in a very remote country. The house is in a very bad condition and asks for a lot of investments - one of the primary things we are looking to do next - is to change a roof (it is leaky), to dig the well, draw in water and to connect to the electricity. Since it requires a lot of money and a lot of time I decided to start a new blog post series - Home Remodelling - to document progress.

Update: After a few years and a couple of thousand investment we lost ownership of this property and all the renovation works have stopped, instead we have a few other cool and interesting projects, see Home Remodeling for more

I will start with what we got. The pictures shown bellow are taken at the start of April 2015 and illustrates what we got.

Front view of house

Front view of our house

A small fish pond near house

A small fish pond near the house

Backyard of house

Backyard of the house

..and a skew shed

Old School electricity plugins

Old School electricity plugins

Apple orchard

Apple orchard

Broken fence

Broken fence

Moss covering the roof

Moss covering the roof

Electrical cabinet

Electrical cabinet

The good thing - we have an electricity here

Back view of house

Back view of the house

anteroom

Anteroom

... one of the many

Lumber

Lumber

Previous owner of the house (R.I.P.) was a craftsman and the house is full of a lot of smaller and larger technical details

Lumber

Lumber

Old style tools and furniture

Old style tools and furniture

We are planing to renovate some of the furniture

Carpenter's table

Carpenter's table

Kitchen and a furnace

Kitchen and a furnace

Stairs to the second floor

Stairs to the second floor

A small stove in the second floor's room

A small stove in the second floor's room

Chess details

Chess details

The leaky roof

The leaky roof

A toy

A toy

Pine coppice

Pine coppice

A dump of old TV's in the yard

A dump of an old TV's in the yard

Our house at the start of April 2015

Our house at the start of April 2015

As you can see - my next big project is Home Remodelling. I will keep you updated of the progress.