Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter bartosz22

    (@bartosz22)

    Welcome,
    Is it still possible to ask for a reply on this old topic of mine?

    Greetings

    Thread Starter bartosz22

    (@bartosz22)

    I would like to report an issue related to HTML code formatting on our blog after enabling the cache mechanism.

    <main class=”relative h-full w-full flex-1 overflow-auto transition-width”>

    Before enabling the cache, the HTML code was formatted in a readable manner, following the convention of indentation and line breaks. An example of the HTML code before enabling the cache looked like this:

    </main>

    </div>
    <div class=" col-lg-3 md-pt100">
        <div class="blog-sidebar">
            <h2 class="widgettitle">Kategorie</h2>
            <ul>
                <li class="cat-item cat-item-1"><a >Balkon</a> (5)</li>
                <li class="cat-item cat-item-1"><a >Bez kategorii</a> (84)</li>
                <li class="cat-item cat-item-1"><a >Byliny</a> (13)</li>
                <li class="cat-item cat-item-1"><a >cebule kwiatowe</a> (1)</li>
                <li class="cat-item cat-item-1"><a >Dalie</a> (1)</li>
                <li class="cat-item cat-item-1"><a >Dekoracje</a> (6)</li>

    However, after enabling the cache, we noticed that the code has been “flattened” and appears to be written in a single line. An example snippet of the code after enabling the cache looks like this:

    ></article></div><div class="row pagination-wrap justify-content-center"><nav aria-label="Paginacja" class="pagination d-flex justify-content-center"><ul class='page-numbers'><li><span aria-current="page" class="page-numbers current">1</span></li><li><a class="page-numbers" >2</a></li><li><a class="page-numbers" >3</a></li><li><span class="page-numbers dots">&hellip;</span></li><li><a class="page-numbers" >14</a></li><li><a class="next page-numbers" > ?</a></li></ul></nav></div></div><div class=" col-lg-3 md-pt100"><div class="blog-sidebar"><h2 class="widgettitle">Kategorie</h2><ul><li class="cat-item cat-item-1"><a>Balkon</a> (5)</li><li class="cat-item cat-item-1"><a>Bez kategorii</a> (84)</li><li class="cat-item cat-item-1"><a>Byliny</a> (13)</li><li class="cat-item cat-item-1"><a>cebule kwiatowe</a> (1)</li><li class="cat-item cat-item-1"><a>Dalie</a> (1)</li><li class="cat-item cat-item-1"><a>Dekoracje</a> (6)</li><li class="cat-item cat-item-1">

    We would like to understand why it introduces changes to the HTML code structure. Could you please explain why, after enabling the cache mechanism, the HTML code is presented in a single line? Is there a way to maintain code readability while using the cache mechanism?

    Thank you very much for your assistance in resolving this issue.

    Best regards

    Thread Starter bartosz22

    (@bartosz22)

    Hello,

    I am sending you a link with a code comparison on the website you indicated.

    https://www.diffchecker.com/oF8arP0m/

    Regards

    Thread Starter bartosz22

    (@bartosz22)

    Hello,
    The code, as in the photos visible, changes immediately when the plugin is turned on. Will some replacement help prevent the code from changing?

    Regards


    https://zapodaj.net/plik-fXrk5IuKnc
    https://zapodaj.net/plik-vmb3K9AOna

    Thread Starter bartosz22

    (@bartosz22)

    Hello, The link should not change. It should look like with cache disabled in this photo:
    https://zapodaj.net/plik-8nPmCNKT1o

    Report number: ZKRGLMSQ

    Report date: 12/22/2023 05:26:14

Viewing 5 replies - 1 through 5 (of 5 total)