Sign in

I drink a lot of tea and build beautiful websites. If you are looking to work together or just start a conversation 👉 https://www.ronaldsvilcins.com/
Photo by Christopher Gower on Unsplash

According to HTTP Archive images make up for more than 60% of data loaded on website. Large images slow down your website which creates a less than optimal user experience. In this post, I’ll offer suggestions for optimizing images on your website.

Lazy Load with loading attribute

Lazy-loading is a technique that defers loading of…


Photo by Richy Great on Unsplash

If you didn’t already know it, GitHub Actions is a way to automate things in your GitHub repository. With it you can create workflows that can do things with your repository and react to different kinds of events. …


Photo by Mert Talay on Unsplash

Here are some amazing quotes about programming and software development to inspire you, make you laugh, or make you think.

If debugging is the process of removing software bugs, then programming must be the process of putting them in.

Edsger Dijkstra

Talk is cheap. Show me the code.

Linus Torvalds


Photo by Domenico Loia on Unsplash

According to HTTP Archive images make up for more than 60% of data loaded on website. Large images slow down your website which creates a less than optimal user experience. In this post, I’ll offer suggestions for optimizing images on your website.

Lazy Load with loading attribute

Lazy-loading is a technique that defers loading of…


Photo by Philipp Katzenberger on Unsplash

The SameSite attribute can be used to control whether and how cookies are submitted in cross-site requests. Current behavior allows third-party websites to access all cookies by default. This creates the possibility of cross-site request forgery (CSRF) attacks, other security vulnerabilities and privacy leaks. …


Photo by UX Store on Unsplash

Photoshop was running a bit sluggish on my Mac recently, luckily there are several settings you can tweak to get the best performance on your machine without compromising too much in terms of usage.

Memory

You can improve performance by increasing the amount of memory allocated to Photoshop. The Memory Usage…


Photo by Fotis Fotopoulos on Unsplash

Update config.toml file

Add this snippet to your config.toml file to instruct Hugo to create the index file in JSON format. (RSS and HTML are default outputs, what’s important is to add JSON.

[outputs]
home = ["HTML", "RSS", "JSON"]

Create layouts/_default/index.json file

Add the following index.json template to specified folder.

{{- $.Scratch.Add "index" slice -}}
{{- range…

Ronalds Vilcins

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store