Welcome Guest, Not a member yet? Register   Sign In
Caching user specific content
#2

[eluser]WanWizard[/eluser]
Use Phil Sturgeons' cache library to cache partials.

This is very easy if you're pages are generated using a template with multiple views (so you can cache per view). The library allows you to define the id of the cache file yourself, so it's very simple to include the userid in that name, and cache only the sidebar view for each user specific.


Messages In This Thread
Caching user specific content - by El Forum - 12-22-2010, 04:44 PM
Caching user specific content - by El Forum - 12-23-2010, 03:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB