As the application is heavy reliant on random traffic from the internet, we needed to optimize the website for SEO. Beside the usual steps to make your website better for SEO (h1 tag, proper title & description, semantic web, ...) we also had to take care of creating a better sitemap.xml file dynamically. This challenge was hard because of the limited validity of promotions / leaflets and the amount of data. Every few hours the sitemap could potentially change its content. From a background job that runs initially for 15min, we could optimize it through a few tricks to a couple of seconds.