Welcome Guest, Not a member yet? Register   Sign In
Cache control for CSS and graphics
#4

[eluser]John_Betong[/eluser]
[quote author="grumm3t" date="1285280933"]Break it out onto say static.domain.com and handle caching through the web server. It's a resource waste to pass everything through PHP.[/quote]

I have just moved all my thumbnails to a static subdomain and surprised at how much faster the pages load.

The static images have nearly all been combined into a sprites file and using CSS to display the individual sprites. This is far more efficient than loading separate images.

My next task is to move the Javascript Adsense and button JavaScript files to see if it makes a difference.


Messages In This Thread
Cache control for CSS and graphics - by El Forum - 09-22-2010, 09:08 PM
Cache control for CSS and graphics - by El Forum - 09-23-2010, 08:52 AM
Cache control for CSS and graphics - by El Forum - 09-23-2010, 11:28 AM
Cache control for CSS and graphics - by El Forum - 09-24-2010, 05:03 AM
Cache control for CSS and graphics - by El Forum - 09-24-2010, 05:10 AM
Cache control for CSS and graphics - by El Forum - 09-24-2010, 06:39 AM
Cache control for CSS and graphics - by El Forum - 09-24-2010, 08:57 AM
Cache control for CSS and graphics - by El Forum - 09-26-2010, 09:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB