• Resolved 19ash82

    (@19ash82)


    Hi,

    Recently, my server provider was able to provide me a Litespeed server.

    Before, I was on cloudflare free plan plus using a plugin Convertor for Media which created avif & webp files for images and used vary header to send the correct file to the corect browser.

    When switching to Litespeed (I continue to use Cloudflare & update the dns with the new IP), I saw it was not compatible to do vary header, so I deleted the plugin, deactivated the Litespeed & checked in incognito mode & saw the filed loaded were no longer AVIF but JPEG

    However, as soon as I press on use Litespeed server again, the AVIF files reappear & I have no idea how (I unistalled ythen plugin).

    Is there something specific to be done at unistallation so that it goes to a pure jpg without header issue ?

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support qtwrk

    (@qtwrk)

    LiteSpeed Cache plugin will not touch anything about the vary header , and as far as I know , only CloudFlare Enterprise plan supports vary header ?

    you have some additional cache layer , you may need to purge that as well

    for LSCWP part ,you may need to purge all before you disable it

    Thread Starter 19ash82

    (@19ash82)

    Hi, this is why i deleted the plugin : to remove this issue & get an ordinary jpg /png & purged all.

    When I delete, I still get AVIF, as if it is cached. I need to change IP to an ordinary (non litespeed Serve) & then I see it’s back to normal JPEG.

    But as soon as I reactivate Litespeed, that AVIF file extension reappears & I don’t know why.

    And, It’s not good because without the vary header it serves AVIF to incompatible browsers…

    • This reply was modified 1 year, 2 months ago by 19ash82.
    Plugin Support qtwrk

    (@qtwrk)

    you can disable plugin , then create a php file , name it like purge.php , with code

    <?php 
    header('x-litespeed-purge:*');

    access it by https://yourdomain.com/purge.php

    this should fully clean up all the cache by LSCWP

    after that , it should be same as you install it before

    if not , you must have other caching system in place

    Thread Starter 19ash82

    (@19ash82)

    I’m not very familiar with php files. I have code snippet installed to add to php…

    Can you please provide me something in this format ?

    • This reply was modified 1 year, 2 months ago by 19ash82.
    Plugin Support qtwrk

    (@qtwrk)

    it has to be done this way

    perhaps you could contact your hosting provider and ask for assistance

    Thread Starter 19ash82

    (@19ash82)

    I did it finally.. I wrote it.. When I then go to my domain/purge.php, I get a white screen. Is this good ?

    Plugin Support qtwrk

    (@qtwrk)

    yes , that means the LSCache is fully purged

    Thread Starter 19ash82

    (@19ash82)

    After the purge, I switched back to an ordinary server. . The images were back to ordinary jpeg…

    I turned back on at server level (switched to litespeed), reinstalled litespeed at WordPress.. And got those avif again.. Like there is a cache somewhere which activates only with lscache..

    Plugin Support qtwrk

    (@qtwrk)

    your provider is using LiteSpeed ADC, it’s not ordinary LiteSpeed webserver

    if your AVIF/JPG serve by same URI , I think it will break with ADC

    Thread Starter 19ash82

    (@19ash82)

    Can Quic Cloud or server do that?

    Thread Starter 19ash82

    (@19ash82)

    What should I do then?

    Plugin Support qtwrk

    (@qtwrk)

    No , the way your serve AVIF/JPG needs CDN that supports Vary or something., QC CDN does’t support that.

    Thread Starter 19ash82

    (@19ash82)

    I ddon’t want to have avif or header vary.. I want them to disappear (which is why I deleted that media plug-in).. But somewhere, its effects keep reappearing.

    Plugin Support qtwrk

    (@qtwrk)

    alright , please create a ticket by mail to support at ltiespeedtech.com with reference link to this topic , we will investigate further.

    Thread Starter 19ash82

    (@19ash82)

    I think I found it (partially)

    The old caching plugin left an advanced-cache.php file in my WP-content

    I deleted it & reinstalled Litespeed.

    I no longer have the AVIS issue.

    Can you just check though ?.. LS cache seems to be a MISS now everytime (but that could be normal with Cloudflare free plan)

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Plugin finding OLD Avif files & bugging’ is closed to new replies.