Cache library with memcache support |
[eluser]Computerzworld[/eluser]
one another problem that i am facing in caching... i am having one banner html code wrapped inside header file... i want to cache this banner as it is taking more time to load.. how can I cache it seperately? Here is my banner code... Code: <td width="24%">
[eluser]Phil Sturgeon[/eluser]
Great work Lovecannon, very tidy. To make this more portable, could you not set a config file that has memcache settings, and if there are none it automatically uses file-based caching? Or if there are memcache settings and the module does not exists, use file based. That way we could use your cache library throughout our scripts and not worry whether the server it is installed on has memcache installed or not.
[eluser]chmod[/eluser]
[quote author="Computerzworld" date="1235569272"]yes that worked ![]() ok, you had save the html header in cache,but how do you display it?
[eluser]Ben Bowler[/eluser]
[quote author="Michael Wales" date="1204238194"]Elliot Haughin has published an absolutely fantastic article about benchmarking and caching.[/quote] A very interesting read! |
Welcome Guest, Not a member yet? Register Sign In |