Website optimization

Published on


At the end of August and the start of September, a lot of work has been invested into the optimization of the Pepper&Carrot website. The server of the website had CPU issues during all summer and my host was starting to complain about the project on a weekly basis.

But thanks to the big contributions of Jookia and other fixes preventing hot-linking of resources; the website is now consuming less than 1/4 of what it was before. The structure is now ready to welcome more visitors! The number of visitors is increasing month after month and optimization like this is vital for the project. You can read the history of the fix here to see how it was done. This method will probably be interesting for all owners of PluXML blogs with high traffic!


Illustration: a screenshot from the CPU graph.

In the process, I setup http://test.peppercarrot.com : a version of the peppercarrot.com website to test new code. This test area reflects the source code of the Git website repository here. This tool will help to welcome eventual (new?) contributors curious to work on the P&C website.

That's all,  thank you very much for all the visit. You are one of over 10,000 daily readers! If something is buggy, or doesn't render well on your device, please, let me know!


I don't have Google Analytics but a tool provided by my host to read the log (Urchin);
here is a screenshot of summary




Support: I'd love to have your support to continue to publish my work for free.
Become my Patron (... or check other options.)

License: CC-BY David Revoy, www.davidrevoy.com, .

Tags: #maintainance #website #lab

4 comments

link alarig   - Reply

Great job!
BTW, when a AAAA for the website will be published? OVH supports IPv6 out of the box.

link Adam   - Reply

Awesome job. I know a few comic sites that are slow as h*ll because they haven't found the right coding to make it run smoothly.

link Jookia   - Reply

To be completely fair, most of the CPU performance gains are from David's hot linking removal for the cat avatars. ;)
My code adds a HTML cache to PluXml which was committed a third in to the graph and can be shown to remove a lot of the spikes. This means that if a popular site like imgur or reddit links to this site it won't go down from all the traffic.

link Abhishek Kumar   - Reply

Yes, You are right jookia most of the CPU performance gains are from David's hot linking removal for the cat avatars

Leave a reply

Comments will be moderated according the Citizens of Hereva Code of Conduct.

CapchaCapcha

Enter image code