Cache image service results

This commit is contained in:
Björn Fromme
2021-10-27 10:44:53 +02:00
parent 4e5cf832da
commit 7acd771f65
9 changed files with 414 additions and 420 deletions
@@ -1,17 +1,16 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
<f:layout name="Bare"/>
<f:section name="Main">
<f:link.typolink class="teaserbox teaserbox--country" parameter="{country.detailPage}" title="{country.name}">
<div class="teaserbox__image">
<img class="teaserbox__flag"
src="{f:uri.image(src: '{ep:flagiconSource(country: country)}')}"
alt="{country.name}"/>
<svg class="teaserbox__flag">
<use href="#icon-flag-{country.code -> f:format.case(mode: 'lower')}"/>
</svg>
<f:render partial="TeaserImage" arguments="{image: country.teaserImages.0}"/>
</div>
<div class="teaserbox__main">