What is the best way to generate and serve static pages on wordpress?
I have been using wordpress + w3tc cache. The site used to be on apache2. Now serving it on nginx.
Now, occasionally I still get hick ups with php and w3tc on the error.log. On heavy traffic, where everyone shows up at the same time, w3tc just disconnects and dies. It can't handle the load. When it works, it is still not fast enough. Actually, I want it really fast, where it feels like a real static site.
I was thinking of generating the whole site as static, and loading to the server.
What is the best way of doing it? Has anyone tried this on linode with wordpress?
I saw this link...
https://www.linode.com/wiki/index.php/S ... _My_Linode
has anyone here used any of these cache utilities such as...
http://webgen.rubyforge.org/
http://webby.rubyforge.org/
https://github.com/mojombo/jekyll
http://www.visolve.com/squid/squid24s1/ ... erator.php
http://www.squid-cache.org/
If you used any of those above, what do you think of these? What is good about it? Pros and cons? Do you suggest any other that is not on the list?
I have tried it serving the site manually before... instead of relying on w3tc. I went to top twenty popular pages and grabbed the html and served it as static. It flied. W3tc, and supercache looked lame next to it on speed. Apache without any optimization flew these files fast and steady. Downside, w3tc complained, and got confused.
If someone posted a comment, the server showed 'not found page' for a split second, and redirected to the front page. However, the comment went through. Of course, if I deleted the static page, the dynamic page pushed the updated comments. And search function on the site didn't work. So, on the user interface level, it didn't score too high if you wanted to engage through writing comments, or using the search box.
any ideas... what is the best way to approach this... where the whole site is fetched and served all the pages as static. It would be awesome if it is automated or at least semi automated. If I can get it to that level, next step would be to make sure not serve 'not found page', 'redirect' on posted comment, and of course need to make 'search function' work.