• Resolved KreativeLabs

    (@kreativelabs)


    Testing the plugin but when in .htaccess mode the headers doesnt include cache HIT, but if I use php drop-in mode, it works. However the server is apache. Any ideas how to set things straight?

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

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter KreativeLabs

    (@kreativelabs)

    I suspect the plugin doesn’t write the .htacces file. Any thoughts?

    Plugin Author FluxPress

    (@easywpstuff)

    It does write the .htaccess file on Apache servers. Could you please share your server info from:

    YOURSITEURL/wp-admin/site-health.php?tab=debug#health-check-section-wp-server

    Thread Starter KreativeLabs

    (@kreativelabs)

    Kiszolgáló architektúra Linux 4.15.0-242-generic x86_64
    Web kiszolgáló Apache
    PHP verzió 8.3.21 (Támogatja a 64bites értékeket)
    PHP SAPI fpm-fcgi
    PHP max bemeneti változók 1000
    PHP futási idő korlát 180
    PHP memória korlát 512M
    Maximális beviteli idő 180
    Maximálisan feltölthető fájlméret 64M
    PHP beküldés maximális mérete 64M
    cURL verzió 7.58.0 OpenSSL/1.1.1j
    Telepítve van-e a SUHOSIN? Nem
    Elérhető az Imagick alkalmazás könyvtár? Igen
    Opcode cache Bekapcsolva
    Opcode cache memory usage 835 MB of 2 GB
    Opcode cache interned strings usage 100,00% of 64 MB (0 B free)
    Opcode cache hit rate 99,91%
    Is the Opcode cache full? Nem
    Támogatva vannak a szép közvetlen linkek? Igen
    .htaccess szabályok .htaccess fájlhoz egyedi szabályok hozzá lettek hozzáadva.
    robots.txt Your site is using a static robots.txt file. WordPress cannot dynamically serve one.
    Jelenlegi Idő 2026-05-28T04:33:46+00:00
    Jelenlegi UTC szerinti idő Thursday, 28-May-26 04:33:46 UTC
    Jelenlegi szerver idő 2026-05-28T06:33:44+02:00

    (If you want english labels I can set the language but hopefully this helps.)

    Thank you!

    • This reply was modified 1 week, 4 days ago by KreativeLabs.
    Thread Starter KreativeLabs

    (@kreativelabs)

    with curl I get very rarely HIT header:

    curl -sI https://appsolute.hu/
    HTTP/2 200
    link: https://appsolute.hu/wp-json/; rel=”https://api.w.org/”, https://appsolute.hu/wp-json/wp/v2/pages/2261; rel=”alternate”; title=”JSON”; type=”application/json”, https://appsolute.hu/; rel=shortlink
    vary: Accept-Encoding
    cache-control: public, max-age=604800, proxy-revalidate, stale-while-revalidate=120, stale-if-error=600
    content-type: text/html; charset=UTF-8
    date: Thu, 28 May 2026 04:41:21 GMT
    server: Apache

    Thread Starter KreativeLabs

    (@kreativelabs)

    (For info: I previously used Flyingpress cache but I want to replace it. The .htaccess is now is only WordPress generic htaccess.)

    Saving permalink structure writes the htaccess file:

    # BEGIN WordPress

    # A
    BEGIN WordPress és az END WordPress sorok közötti tartalom dinamikusan lett létrehozva, és csak WordPress szűrők módosíthatják. E kettő sor közötti bármilyen kézi módosítás el fog veszni.

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteBase /

    RewriteRule ^index\.php$ - [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    Actually saving the permalink structure doesn’t rewrite the htaccess file. Is it a clue?

    Also setting the Easy Optimizer plugin to .htaccess mode or PHP mode touches the file as I can see the modification timestamp changes on it but the content is the very same as above.

    • This reply was modified 1 week, 4 days ago by KreativeLabs.
    Thread Starter KreativeLabs

    (@kreativelabs)

    If there is any debug that I can do for you to make the plugin better let me know. You can reach me directly, happy to help!

    Plugin Author FluxPress

    (@easywpstuff)

    Please update the plugin, then deactivate and reactivate it. After that, check whether it is adding properly or not. If not, go to the plugin settings and click on “Debug Log.” and share the log with me.

    Thread Starter KreativeLabs

    (@kreativelabs)

    Hey,

    Thank you for your quick response. Updated the plugin. Here is the log:

    ERROR
    2026-05-28 19:56:19
    [htaccess] Loopback probe returned 500 after .htaccess write. Restored backup and fell back to PHP mode.

    Thread Starter KreativeLabs

    (@kreativelabs)

    More info to debug:

    When I tried to copy another htaccess from another hosting environment where the easy optimizer is also installed the server gave me Error 500. Maybe a module is not installed?

    Thread Starter KreativeLabs

    (@kreativelabs)

    This line caused the error in the gzip section:

    BrowserMatch \bMSIE\ !no-gzip !gzip-only-text/html

    Plugin Author FluxPress

    (@easywpstuff)

    Thanks for helping me identify the issue. I’ve fixed it in the latest update.

    If the plugin is working well for you now, I’d really appreciate it if you could leave a review

    Thread Starter KreativeLabs

    (@kreativelabs)

    Hey, I left feedback, thank you. It seems that the plugin works well now, I will test it thoroughly.

    Keep up the good work ad please add some fine tuning features (for example if I want to exclude files js/css give a list of the available files, scanner maybe to select from list), more debug info for advanced users. Just some idea, but so far I like this plugin very much!

    An other question. When I see this in the terminal:

    HTTP/2 200 

    x-easy-optimizer-cache: HIT

    x-easy-optimizer-source: drop-in

    cache-control: no-cache, must-revalidate

    cdn-cache-control: max-age=2592000

    cache-tag: appsolute.hu

    vary: Accept-Encoding,User-Agent

    content-encoding: gzip

    last-modified: Fri, 29 May 2026 20:18:12 GMT

    accept-ranges: none

    cache-control: public, max-age=604800, proxy-revalidate, stale-while-revalidate=120, stale-if-error=600

    content-type: text/html; charset=UTF-8

    date: Fri, 29 May 2026 20:19:11 GMT

    server: Apache

    Does this mean it is not in .htaccess mode? Because it says drop-in and not server/htaccess. But the pages load very fast and it seems to be working but not natively .htaccess maybe but the drop-in php version?

    Thread Starter KreativeLabs

    (@kreativelabs)

    Another observation: when I click through the page (incognito mode) the pages get cached and browsing start to be fast to load previously opened pages. Also the counter starts to go up. Then I leave the site for a fe minutes, start clicking on pages again it feels slow again and the counter counts down and makes cached page count 0. Strange.

    If you can give me an email I would send diagnostic reports or anything needed for debug.

    A few minutes later cache is not HIT:

    HTTP/2 200 
    link: <https://appsolute.hu/wp-json/>; rel="https://api.w.org/", <https://appsolute.hu/wp-json/wp/v2/pages/2261>; rel="alternate"; title="JSON"; type="application/json", <https://appsolute.hu/>; rel=shortlink
    vary: Accept-Encoding,User-Agent
    accept-ranges: none
    cache-control: public, max-age=604800, proxy-revalidate, stale-while-revalidate=120, stale-if-error=600
    content-type: text/html; charset=UTF-8
    date: Fri, 29 May 2026 20:25:09 GMT
    server: Apache
    • This reply was modified 1 week, 2 days ago by KreativeLabs.
    Thread Starter KreativeLabs

    (@kreativelabs)

    The cache is never getting past 4-8 cached pages while 1000+ in the queue. It always zeroes out and fluctuates between 0-10 pages. Something is auto-deleting the cached items or what could cause that?

    Plugin Author FluxPress

    (@easywpstuff)

    This issue has been identified and will be fixed in the next update. In the meantime, please disable the LCP Preload option, as it is causing the cache entries to be removed unexpectedly. Once the update is released, you can enable it again.

Viewing 15 replies - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.