Support » Plugin: WP-Optimize - Cache, Clean, Compress. » lose cached pages

  • Resolved LinuC

    (@linuc)


    Hi

    I’ve been using WP-Optimize for about 2 weeks. After I finished my website, I used the preload cache function. It generated just over 100 page caches. That should be true, because I have 38 pages in 4 languages. The cache livespan is set to 7 days. Other settings are “same then cache livespan”. Minify is also set to 7 days.

    Now I observe that in the morning the cache pages is either emptied or significantly reduced. But I can’t find any reason for it.

    I only have a few plugins:

    BetterDocs
    Classic Editor
    Falang multilanguage for WordPress
    GTranslate
    Wordfence Security
    WP-Optimize – Clean, Compress, Cache
    wpForo

    wpForo is excluded from the cache.

    Where could the problem be?

    greetings
    Patrick

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Harshad

    (@bornforphp)

    @linuc Could you please try to de-activate and then activate the plugin again, and try to again Preload the urls and check the behavior if it still deletes the cache pages before the set lifespan?

    Thread Starter LinuC

    (@linuc)

    @bornforphp

    I have done this, even I deinstallated and installeted WP-Optimize again and it looks better. Last night was not loosing the cached pages. I will observe this for a few days and if the problem don’t exist more, I think it is ok. If not, I will post here again.

    Thank you!

    Thread Starter LinuC

    (@linuc)

    @bornforphp

    Ok it is already happend. I had more then 140 pages in the cache, now it shows me 23. So I was taking a look to the folder on the server. I can just find cache from 4 pages, in english and in french. I counted 21 files, html, gz and php together. Minify I also counted and found 24, as it shows in the wp-admin (Current cache).

    So it looks like a job is deleting the cache. Can it be a job from the hoster ifastnet free?

    Other question. I translate with Falang that is doing entity translation. So there are no pages (docs) for the translation, but the translation is stored in the header of the english original. I can see in the cache folder, that also french cache pages exist. Not spanish and not german. What is WP-Optimize doing in this case, that there are no existing pages (docs) for the translation? Will it delete this cached pages (docs), if there is no existing page (doc) for it?

    Or could it be a “clean job” from the ifastnet free hoster, that is doing it?

    Maybe you should set up a testplattform with the plugins I have and make some tests, on ifastnet free or mipropia, that goes to ifastnet free? As my website is now ready and productive, I don’t like to test to much, as ifastnet free and mipropia are going crazy about ther CPU load and sql load! Anyway it is near nothing, but as they like to win money, they are making problems.

    Thread Starter LinuC

    (@linuc)

    @bornforphp

    Ok, have now done the preload again. I got 122 files. On the server I can see, that this are all just english versions. No translation is cached with preload. The french cached pages are still the same two, that are of course from caching, when a visitor was calling this pages.

    So preload is not finding the translation in the header of the english original.

    Plugin Support Harshad

    (@bornforphp)

    @linuc `Have you performed a conflict test yet?

    Try deactivating all plugins except for WP-Optimize and see if it is resolved.

    If so, reactivate each plugin one at a time until you find the culprit. You can check for the issue between activating each plugin, so you can see which one is causing problems.

    Please let us know your findings.`

    Thread Starter LinuC

    (@linuc)

    @bornforphp

    This night I didn’t loose the cached pages, all are still existing, the english ones and the 2 french ones!

    I will now just let it like this and take a look each day. If it happends again, I will know the frequency of deleting.

    There is something strange going on, as you can see here:

    https://ibb.co/W5Lp6cB

    It is strange, that Entry process failures has this frequent. It looks to me, as there is manipulation of I/O. Maybe to press people to change to a payed version? I posted this 2 times to the support and 2 times they where not answering to the item.

    About the caching of the Falang translations:

    To do this, I think you would have to change the methode of WP-Optimize Preload. It is caching visidet translation pages, but not preload them. You can take a look to this post, maybe it gives you a idee. If not, just ask Stéphane from Falang, he is a very helpfull person.

    https://wordpress.org/support/topic/translate-toc/

    • This reply was modified 3 months, 3 weeks ago by LinuC.
    Plugin Support Harshad

    (@bornforphp)

    @linuc When you preload the urls, WP-Optimize check the sitemap and accordingly fetches the urls to Preload, if somehow the translated pages are not in the sitemap WP-Optimize will not preload the url.

    Thread Starter LinuC

    (@linuc)

    @bornforphp

    Of course. That’s why I posted you the link to the other item about falang. If WP-Optimize (and others plugin too) once got the point, that “page translation” is just one methode to do translations, but there is also entity translation, that is the new methode and the better, as it is not filling up the installation with many pages, then you can change the code of the preload function, in order it is also taking a look, if there are translations, that ar not stored as pages 🙂

    Think about if one has a installation with 100 pages. Then he translate all in 10 languages! 1100 pages is the result! That is not good for the performenc and the database! We should try to find ways to work with less ressources in general, not just when it comes to oil or other natural things.

    Well, hope that step by step this way of thinking will get more known. LinuC is about this, because it shows, how you can use a computer with just 1GB RAM with a small Linux and anyway have a comfortable system. Yes, I know, RAM is cheap, but I also know what is need to produce it!

    And the good news: I still have all the cached pages this morning!

    have a nice day
    Patrick

    • This reply was modified 3 months, 3 weeks ago by LinuC.
    Plugin Support Harshad

    (@bornforphp)

    @linuc Glad to hear the cached pages are still available.

    However, I’ll report the issue to our development team for further investigation.

    Thank you for your time and patience.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.