Nye krav til universell utforming

by Jesper Allermand

Det har kommet nye krav til universell utforming. EUs webdirektiv (WAD) og WCAG 2.1 er nå del av norsk lov. Hva betyr egentlig dette og hva bør du gjøre?…

Quick and dirty output cache in Optimizely CMS12

by Tomas Hensrud Gulla

.NET5 and .NET6 has no concept of output caching, and neither does Optimizely Content Cloud 12. Don't let that stop you from caching your output!…

Use Contentful's image processing to give every user the best image for their screen size

by Bjarte Aune Olsen

With responsive websites, the same image can be displayed on screens ranging from several thousand pixels wide down to a few hundred. It is a lot of wasted bandwidth if the user on a tiny mobile screen has to download an image 2000 pixels wide, only to display it as…

Optimizely CMS 12 can finally convert pages!

by Tomas Hensrud Gulla

Optimizely CMS 12 can finally convert pages from one page type to another! Great! But what about blocks and media...?…

Secretless access to Azure services in AKS using Token Credentials and managed identity

by Karl Solgård

Phew, that's a mouthful! Working with AKS sometimes is. However, I can assure you that this approach to securing your applications in your Kubernetes cluster is worth it. The advantages to have a secretless solution are many: * No secrets are lost in the wild 🐅 The need to send…

How to auto-generate SVG sprites with webpack and svg-sprite-loader

by Ane Min Garnaas

When developing, there are several benefits to using SVG sprites, but maintaining sprites can quickly become difficult and time-consuming. With Webpack and svg-sprite-loader your sprite will be automatically generated when you bundle your code. What is an SVG sprite? A sprite is a collection of something, ex. images, put into…

Download database + blobs from your Optimizely DXP project

by Tomas Hensrud Gulla

With Optimizely DXP, we as developers do not have direct access to the production environment. If I want to get the database + blobs from the production environment to update my local dev environment - this is how it's done. Export the database The database export can be started…

Contentful migrations: Copy content from one entry to another

by Bjarte Aune Olsen

In Contentful, the easiest way to change your content model is through the web app on app.contentful.com [https://app.contentful.com]. This is pretty straightforward if you are doing basic changes like adding a new text field. However, if you are planning more complex changes, migration scripts are…

Multiple queries in Sanity with one request

by Magnus Sigvartsen

Format your groq query to get multiple queries in one request to Sanity.io.…

Personvernvennlig bildeopplasting

by Tomas Hensrud Gulla

Den siste tiden har det vært mye fokus på personvern. Google Analytics er muligens ulovlig, cookies bør ikke brukes uten samtykke, og ting som GDPR og Schrems II har nærmest blitt en del av dagligtalen. Man bør generelt være varsom i sin omgang med personopplysninger!…