Converting WordPress into static website speed after 1 second dynamic 3 seconds
Free plugins to convert wordpress into static
They host your static site on their server, so we need to pay their support & maintenance +hosting charges.
other technical way semi static
w3tc , wp super cache , wp rocket, autoptimize,
wp – optimize
they cache html pages & and delete based on expiration.
cloudflare cdn with cache everything page rule;
Reverse proxy & CDN for your website.
with cache everything it serves 85-90% of traffic, requests
1st two options are 100% effective but no backend dynamic functionality.
using cdn for static content better way to reduce load
static assests. css,image,js
Only html pages generated dynamically with WordPress.
wordpress+PHP+MySQL= dynamic page.
no backend process.
faster speed, lower ttfb
ttfb for dynamic site = 400ms load time 3+seconds
tffb for static site = 100-200ms load time 1+Seconds
managing static wordpress site?
weekly backup syncing with existing data,
linux rsync & scp commands helps to automate at server level.
Wp2static plugins allows you to this same at wordpress dashboard.
it generates static files & saves in folder.
Then you have to point your domain to that directory.
Existing dynamic website in a subdirectory with no index for search engines.
is it a good idea to convert wordpress as static?
it’s all about flexibility for maintenance & performance.
a small websites or medium sites those not needed to update frequently.
No hacking because no database
stratic a successful company
35$ Per month
1 website, 10GB storage, 25000 visits,
25GB cdn bandwidth,
serverless architecture, all data servred by nearest cdn.
wordpress static website with keycdn /max cdn etc
by default they only cache css,js, files.
you can also indicate them to serve html files.
by uploading content to their sites.
nginx as reverse proxy for apache
it caches as static files, serves your center location
Huge benefit for targeted same country.
varnish and fastcgi
varnish not supports SSL, fastcgi caches php+MySQL= static html.
remaining assets serves css.js. serves by nginx or cdn if you setup correctly.
the main benefit of CDN: is serving content from nearest user location. if you are datacenter & users in same city/country. Then no need for cdn. the bandwidth cost are high than your local server machine bandwidth+resources.