Want more timely Centmin Mod News Updates?
Become a Member

Wordpress CACHE Enabler + Wordpress + not deleting cache

Discussion in 'Blogs & CMS usage' started by patrikpodo, Oct 25, 2023.

  1. patrikpodo

    patrikpodo Member

    32
    3
    8
    Aug 27, 2014
    Prague
    Ratings:
    +7
    Local Time:
    10:49 AM
    Hi there,

    I have rather larger wordpress site /10 000 pages/, and I wanted to make it static.


    Content is static, no comments,...

    So basically I setup:

    - Cache enabler: Cached pages expire 0 hours
    - deleted cache cron

    And, within time, wordpress + cache enabler, will populate .html cache files and I am good to go? Right?

    PS: Is there any reliable plugin that can create /export/ static web out of wordpress?

    Thanks a lot!
     
  2. eva2000

    eva2000 Administrator Staff Member

    52,749
    12,077
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,604
    Local Time:
    6:49 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Cache TTL = 0 = expire and not cache effectively which would be opposite of what you want. You'd want a higher non-zero Cache TTL value for caching longer expiry times.

    I've heard of wp2static but not used it myself https://wp2static.com/

    Or if you use Cloudflare, you can pay $5/month for Cloudflare Wordpress Automatic Platform Optimization (APO) to cache Wordpress on CDN and if you have paid Cloudflare plan, can enable Tiered Caching as well.

    I guess if you used wp2static, then you could use Cloudflare without Cloudflare Wordpress Automatic Platform Optimization (APO) and just use Cloudflare Cache Rules https://developers.cloudflare.com/cache/about/cache-rules/ to extend your Wordpress static posts pages cache time
     
  3. patrikpodo

    patrikpodo Member

    32
    3
    8
    Aug 27, 2014
    Prague
    Ratings:
    +7
    Local Time:
    10:49 AM
    Thanks.

    I checked out "Cached pages expire" /....will see..../

    I tried wp2static, but after 1 minute it asked me this:

    -------------------------------
    500 error code returned from server.
    Please check your server's error logs or try increasing your max_execution_time limit in PHP if this consistently fails after the same duration.
    More information of the error may be logged in your browser's console.
    --------------------------------

    So since I have 10 000 products raising max_execution_time is out of the question....
     
  4. Jon Snow

    Jon Snow Active Member

    758
    155
    43
    Jun 30, 2017
    Ratings:
    +222
    Local Time:
    5:49 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    I have heard about sites like these but wouldn't a 10K static page website be hell to manage?