<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><language>en</language><title>Blog posts by Erik Henningson</title> <link>https://world.optimizely.com/blogs/erik-henningson/</link><description></description><ttl>60</ttl><generator>Optimizely World</generator><item> <title>Changes to PictureRenderer.Optimizely</title>            <link>https://hacksbyme.net/?p=1908</link>            <description>In version 3.2 of PictureRenderer.Optimizely it is possible to add any attribute to the rendered img element. This makes it possible to add e.g. custom data and itemprop attributes. Version 3.2 introduces the PictureAttributes object that may be used as an input parameter when calling @Html.Picture. It&amp;#8217;s in the PictureAttributes object where you can add &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2024/08/02/changes-to-picturerenderer-optimizely/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Changes to PictureRenderer.Optimizely&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1908</guid>            <pubDate>Fri, 02 Aug 2024 15:59:03 GMT</pubDate>           <category>Blog post</category></item><item> <title>Image optimization at the edge.</title>            <link>https://hacksbyme.net/?p=1887</link>            <description>The latest version of PictureRenderer has support for resizing and optimizing images using Cloudflare&#39;s image service.</description>            <guid>https://hacksbyme.net/?p=1887</guid>            <pubDate>Wed, 30 Aug 2023 09:49:13 GMT</pubDate>           <category>Blog post</category></item><item> <title>On-page editing with Optimizely CMS on an externally hosted site</title>            <link>https://hacksbyme.net/?p=1862</link>            <description>Did you know that you can enable on-page editing for a site that isn&amp;#8217;t hosted on the same server as the CMS? I&amp;#8217;m not sure when this feature was introduced, as there isn&amp;#8217;t much documentation available. It took me several hours to figure out all the necessary steps. Hopefully, this article will save you some &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2023/06/13/on-page-editing-with-optimizely-cms-on-an-externally-hosted-site/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;On-page editing with Optimizely CMS on an externally hosted site&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1862</guid>            <pubDate>Tue, 13 Jun 2023 07:45:01 GMT</pubDate>           <category>Blog post</category></item><item> <title>Optimize images added in the rich text editor.</title>            <link>https://hacksbyme.net/?p=1838</link>            <description>PictureRenderer for Optimizely CMS can be used to optimize images added in the rich text editor (TinyMce). In PictureRenderer.Optimizely v2.3 an XhtmlString extension is added that replaces img elements in the rich text content with a picture element. You enable this by creating a display template for XhtmlString properties. Create the file&amp;#160;/Views/Shared/DisplayTemplates/XhtmlString.cshtml&amp;#160;and add this: If &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2022/08/29/optimize-images-added-in-the-rich-text-editor/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Optimize images added in the rich text editor.&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1838</guid>            <pubDate>Mon, 29 Aug 2022 11:45:27 GMT</pubDate>           <category>Blog post</category></item><item> <title>Optimize images on your Optimizely CMS site</title>            <link>https://hacksbyme.net/?p=1762</link>            <description>You want the images on your site to be lazy loaded in the most optimal size and format, and still look really sharp on all devices. You don&amp;#8217;t want the content editor to have to care about image size, image format, or what proportions the image should have. PictureRenderer can help you with all of &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2022/08/16/optimize-images-on-your-optimizely-cms-site/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Optimize images on your Optimizely CMS site&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1762</guid>            <pubDate>Tue, 16 Aug 2022 13:38:32 GMT</pubDate>           <category>Blog post</category></item><item> <title>Updates for Optimizely CMS 11 Picture helper</title>            <link>https://hacksbyme.net/?p=1736</link>            <description>The Picture helper for Optimizely CMS 11 now supports creating webp versions for &amp;#8220;all&amp;#8221; image formats. Up until now webp versions was only created for jpg images. The reason was that the webp versions where lossy. The webp versions of a png image would get grainy/blurry parts, instead of the solid colors in the original &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2021/12/01/updates-for-optimizely-cms-11-picture-helper/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Updates for Optimizely CMS 11 Picture helper&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1736</guid>            <pubDate>Wed, 01 Dec 2021 15:12:56 GMT</pubDate>           <category>Blog post</category></item><item> <title>PictureRenderer for Optimizely CMS 12</title>            <link>https://hacksbyme.net/?p=1722</link>            <description>Say hello to PictureRenderer.Optimizely! The html helper that makes it super simple to render HTML Picture elements in your Optimizely CMS 12 solution. Images are automatically cropped and resized, and the browser will always select the most optimal image to use.The result is optimized (width, format, and quality), lazy loaded, and responsive images. If you &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2021/10/18/picturerenderer-for-optimizely-cms-12/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;PictureRenderer for Optimizely CMS 12&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1722</guid>            <pubDate>Mon, 18 Oct 2021 09:22:57 GMT</pubDate>           <category>Blog post</category></item><item> <title>Serve Optimizely CMS pages directly from a CDN.</title>            <link>https://hacksbyme.net/?p=1677</link>            <description>This blog post is about speeding up your site by caching your Episerver Optimizely CMS pages in a CDN. This solution gives you granular control on how long a specific page should be cached. It works for any CDN, but here I&amp;#8217;m focusing on getting it to work with the Cloudflare CDN that is included &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2021/08/13/serve-optimizely-cms-pages-directly-from-a-cdn/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Serve Optimizely CMS pages directly from a CDN.&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1677</guid>            <pubDate>Fri, 13 Aug 2021 12:39:26 GMT</pubDate>           <category>Blog post</category></item><item> <title>Getting started with Optimizely CMS preview</title>            <link>https://hacksbyme.net/?p=1679</link>            <description>This is my experience on how to get started with the preview version of Optimizely CMS. Expect this blog post to be outdated fairly soon&amp;#8230; Finally I took the time to take a look at the brand new Optimizely CMS, the .Net 5 version of former Episerver CMS. It seems to be pretty easy to &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2021/08/08/getting-started-with-optimizely-cms-preview/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Getting started with Optimizely CMS preview&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1679</guid>            <pubDate>Sun, 08 Aug 2021 19:34:04 GMT</pubDate>           <category>Blog post</category></item><item> <title>When do we stop using the term “headless” for a CMS?</title>            <link>https://hacksbyme.net/?p=1655</link>            <description>&amp;#8230;and just call it a CMS?&amp;#160; Sorry for this grumpy-old-man-rant, but isn’t it time to retire the term “headless” when we are talking about CMSs? It’s not needed, and it doesn’t really mean anything. If you search for a definition of the term “headless CMS” you might find something like: a CMS where the content &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2021/02/12/when-do-we-stop-using-the-term-headless-for-a-cms/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;When do we stop using the term “headless” for a CMS?&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1655</guid>            <pubDate>Fri, 12 Feb 2021 09:14:10 GMT</pubDate>           <category>Blog post</category></item><item> <title>Powershell vs Azure CLI when creating an Episerver environment.</title>            <link>https://hacksbyme.net/?p=1566</link>            <description>It doesn&#39;t really matter if you use Powershell or Azure CLI to setup your Azure resources. It&#39;s more a matter of taste. Here is a quick comparision anyway :-)</description>            <guid>https://hacksbyme.net/?p=1566</guid>            <pubDate>Thu, 05 Mar 2020 16:46:17 GMT</pubDate>           <category>Blog post</category></item><item> <title>Powershell vs Azure CLI when creating an Episerver environment.</title>            <link>https://hacksbyme.net/?p=1566</link>            <description>It doesn&#39;t really matter if you use Powershell or Azure CLI to setup your Azure resources. It&#39;s more a matter of taste. Here is a quick comparision anyway :-)</description>            <guid>https://hacksbyme.net/?p=1566</guid>            <pubDate>Thu, 05 Mar 2020 16:46:17 GMT</pubDate>           <category>Blog post</category></item><item> <title>Powershell vs Azure CLI when creating an Episerver environment.</title>            <link>https://www.hacksbyme.net/?p=1566</link>            <description>It doesn&#39;t really matter if you use Powershell or Azure CLI to setup your Azure resources. It&#39;s more a matter of taste. Here is a quick comparision anyway :-)</description>            <guid>https://www.hacksbyme.net/?p=1566</guid>            <pubDate>Thu, 05 Mar 2020 16:46:17 GMT</pubDate>           <category>Blog post</category></item><item> <title>Episerver Picture helper now have option for native lazy loading.</title>            <link>https://hacksbyme.net/?p=1559</link>            <description>The Picture helper in ImageProcessor.Web.Episerver now have an option to render the loading attribute that enables browser-native lazy loading. This makes it even simpler to optimize the loading of images. If you are familiar with the Picture helper you might already know that there are options for rendering the picture element that supports lazy loading. &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2020/02/16/episerver-picture-helper-now-have-option-for-native-lazy-loading/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Episerver Picture helper now have option for native lazy loading.&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1559</guid>            <pubDate>Sun, 16 Feb 2020 14:19:37 GMT</pubDate>           <category>Blog post</category></item><item> <title>Episerver Picture helper now have option for native lazy loading.</title>            <link>https://www.hacksbyme.net/?p=1559</link>            <description>The Picture helper in ImageProcessor.Web.Episerver now have an option to render the loading attribute that enables browser-native lazy loading. This makes it even simpler to optimize the loading of images. If you are familiar with the Picture helper you might already know that there are options for rendering the picture element that supports lazy loading. &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2020/02/16/episerver-picture-helper-now-have-option-for-native-lazy-loading/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Episerver Picture helper now have option for native lazy loading.&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://www.hacksbyme.net/?p=1559</guid>            <pubDate>Sun, 16 Feb 2020 14:19:37 GMT</pubDate>           <category>Blog post</category></item><item> <title>(Trying to do) Code package deployment to Episerver DXC-S</title>            <link>https://hacksbyme.net/?p=1541</link>            <description>I have spent way to much time trying to set up code package deployment when using TeamCity together with Octopus deploy. Read this to avoid following my path to failure :-). Well, not complete failure, I did learn some new things about both PowerShell and Octopus&amp;#8230; Episerver have created a PowerShell module to simplify code &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2019/12/12/trying-to-do-code-package-deployment-to-episerver-dxc-s/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;(Trying to do) Code package deployment to Episerver DXC-S&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1541</guid>            <pubDate>Thu, 12 Dec 2019 15:45:58 GMT</pubDate>           <category>Blog post</category></item><item> <title>(Trying to do) Code package deployment to Episerver DXC-S</title>            <link>https://www.hacksbyme.net/?p=1541</link>            <description>I have spent way to much time trying to set up code package deployment when using TeamCity together with Octopus deploy. Read this to avoid following my path to failure :-). Well, not complete failure, I did learn some new things about both PowerShell and Octopus&amp;#8230; Update: &amp;#8220;DXC-S&amp;#8221; is now known as &amp;#8221; Episerver DXP&amp;#8221; &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2019/12/12/trying-to-do-code-package-deployment-to-episerver-dxc-s/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;(Trying to do) Code package deployment to Episerver DXC-S&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://www.hacksbyme.net/?p=1541</guid>            <pubDate>Thu, 12 Dec 2019 14:45:58 GMT</pubDate>           <category>Blog post</category></item><item> <title>Deployments to DXC-S using API with Octopus Deploy</title>            <link>https://hacksbyme.net/?p=1523</link>            <description>Episerver recently released an API that allows partners and customers to automate deployment to DXC-S environments. If using this API you no longer need the manual process of logging in to the DXC-S portal and starting a deploy. The API also makes it possible to deploy directly to Pre-production or Production environments.&#160; Currently I&amp;#8217;m only &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2019/11/14/deployments-to-dxc-s-using-api-with-octopus-deploy/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Deployments to DXC-S using API with Octopus Deploy&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1523</guid>            <pubDate>Thu, 14 Nov 2019 13:44:31 GMT</pubDate>           <category>Blog post</category></item><item> <title>Deployments to DXC-S using API with Octopus Deploy</title>            <link>https://www.hacksbyme.net/?p=1523</link>            <description>Episerver recently released an API that allows partners and customers to automate deployment to DXC-S environments. If using this API you no longer need the manual process of logging in to the DXC-S portal and starting a deploy. The API also makes it possible to deploy directly to Pre-production or Production environments.&#160; Update: &amp;#8220;DXC-S&amp;#8221; is &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2019/11/14/deployments-to-dxc-s-using-api-with-octopus-deploy/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Deployments to DXC-S using API with Octopus Deploy&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://www.hacksbyme.net/?p=1523</guid>            <pubDate>Thu, 14 Nov 2019 12:44:31 GMT</pubDate>           <category>Blog post</category></item><item> <title>Let Episerver editors control the output cache</title>            <link>https://hacksbyme.net/?p=1483</link>            <description>The &amp;#8220;Content output cache&amp;#8221; is strangely enough a basically undocumented feature of Episerver CMS. It&amp;#8217;s strange, because the&#160;content output cache can be a simple way to really speed up your site. I will not go into details about how to set up Content output cache in this article. Instead I&amp;#8217;ll show a way to let &amp;#8230; &lt;a href=&quot;https://hacksbyme.net/2019/05/03/let-episerver-editors-control-the-output-cache/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Let Episerver editors control the output cache&lt;/span&gt;&lt;/a&gt;</description>            <guid>https://hacksbyme.net/?p=1483</guid>            <pubDate>Fri, 03 May 2019 10:08:38 GMT</pubDate>           <category>Blog post</category></item></channel>
</rss>