partly page caching

Permalink
I have pages with content blocks and dynamic content. This dynamic content is mostly coded direct in php (no blocks).

User authentication is through an external database (not mysql).

Scenario : after authentication I know if the user is an Employer or a Worker. Based on these roles I display different content to the user (which is NOT from contentblocks, but hard code or data retrieved by querying the external database).

I Like to use caching for the content blocks only ! But I don't want to cache the dynamic content. So full page caching is not an option.

Is there a way that I can use partly caching, that I appoint the blocks which can be cached, but the rest of the page is generated on the fly. If this is possible, how do I do this ?

Thanks !

 
robgevers replied on at Permalink Reply
Still nobody who has experience with caching parts of a page?

caching some blocks on a page but not the rest of the page....
robgevers replied on at Permalink Reply
Can Please anyone help me with this ????
mkly replied on at Permalink Reply
mkly
Ok Rob,
Plenty of people likely have experience with caching. Maybe they were just busy doing something else. Most people here aren't getting paid, and honestly, it kind of looks like you are getting paid to do what you are doing.

Repeatedly bumping while adding no new information further decreases your chance of a good answer.

With that said, just turn "Basic Cache" to "on" and turn "Full Page Caching" to "off". Blocks need to support caching in their code(most should). You can see some more info about caching here.

http://www.concrete5.org/community/forums/documentation_efforts/spe...

I hate to come off like that, but you really shouldn't act like you expect people to help you for free to do something that you are probably getting paid to do.
robgevers replied on at Permalink Reply
Thanks for your reply! Damn I am already running in these settings (and it is still not as fast as i would like to see)...Don't know why but I was totally convinced that basic cache mode was only affecting edit mode & dashboard (concrete UI related) stuff and not the content blocks. Never realised basic cache mode affects the content blocks....(maybe this could be more clearly stated on the C5 site or manuals ?)

Sorry for posting it multiple times , was just trying to get a hint of someone after 5 & 7 (total 12) days...

But thanks again, really appreciate your reply!