I am developing a Wordpress blog for a client who believes that more than 1m pageviews will be served every month.
Unfortunately his server resources are very limited so I was thinking of hosting the blog - as a static website - on a CDN.
My client intends to publish posts in batches, morning, afternoon and evening so I was thinking of doing the below:
- I install the blog on my client's server where my client can manage posts, pages, etc.
- Whenever a new post is published, I would create a static .html version of the post and upload it to the CDN. I could use W3 Total Cache or WP Super Cache to create the .html. I would then use the CDN's APIs to upload the file.
- In-between batches, when his server is idle, I will re-create the .html of all old posts for areas such as "Latest blog posts", etc.
- I update the .html of the old posts on the CDN
Comments in this blog are closed.
Of course when users open the blog at http://www.mydomain.com, this has to be loaded from the CDN(which I believe would be push CDN) and not from the client's server.
I don't want my client's server to be accessed in any way(which I believe would be pull CDN) due to the lack of CPU and memory; it will only be used by the client himself to manage the content.
Is this something I can achieve? My main concern are permalinks, can a CDN replicate the same permalink structure of my blog?