Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I use WP SuperCache and W3 TotalCache to optimize the speed of my Wordpress website by caching. That really helps! But lately I have been building a website myself, basically from scratch. Is there any opensource program/code/api out there which can help me optimize (the speed of) this non-WP website (by caching) or so?

share|improve this question
    
Building the website how? PHP? Is there a database? Do you know what part is slow? –  Thilo Jan 6 '12 at 4:36
    
Yes, using HTML/PHP only, and MySQL database. Honestly I don't know what part is slow. –  Gerben Jan 6 '12 at 7:06
add comment

migrated from stackoverflow.com Jan 8 '12 at 3:45

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 2 down vote accepted

Well Website speed is not entirely dependents upon the cache only, this is one aspect and there are lot of other factors which needs to be taken care of.

memcached is one of the popular distributed memory object caching system.Beside there are lots of other heck like the number of database hots your site requires , how you portal asking browser to do caching for it.

Yahoo has published a good Blog about generic methods which should be taken care while optimizing your website for speed.

Best Practices for Speeding Up Your Web Site

Beside this one of the core area of optimization is always your DB and application interaction with it.

share|improve this answer
add comment

When building websites, there are multiple aspects that will affect the perceived speed of the website.

Some best practices you need to follow are available from Yahoo and Google:

Other aspects depend on the architecture of your application, wih or without a database, static content or different content per user, and myriad other things that might have their own best practices for better performance.

share|improve this answer
add comment

memcached is extremely popular, but that only provides a key-value store in memory. It's a good starting point, and one you could use entirely on your own if you were so inclined.

The extra effort of adding proper HTML cache control tags and everything else depends largely on the environment. Tools such as Rack::Cache can help you manage the headers on your resources.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.