Cache pages on the server?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/17/2010 4:10:21 AM
Gravatar
Total Posts 220

Cache pages on the server?

Hi Joe,

am I mistaken or was there once a setting to cache single pages on the server?

Best
Matthias

1/18/2010 9:20:59 AM
Gravatar
Total Posts 18439

Re: Cache pages on the server?

Hi Matthias,

There is no global server side caching of entire pages, there is a setting in page settings to allow client side caching. Some features like the main Html Content feature allow caching of server side partial page output. This is done from the feature instance settings on the General tab, if the feature supports it.

Features that do postback generally cannot be cached because this causes viewstate errors when a cached copy is posted back and the viewstate is not valid for the current postback request. Also things that are personalized or where content varies by roles cannot be cached easily as it would require a separate cached copy per variation.

Are you having actual performance problems that you are wanting to try and solve with caching?

Unless you have a specific performance issue you are trying to solve I recommend leave caching settings alone. Caching uses server memory which in most hosting situations is the most precious resource of all. If some content is very expensive to build from the database, caching can be a solution to reduce database load (if it is identified as a bottleneck) but if you cache things without good reason and without having a lot of memory available it can actually hurt performance. Most hosts put tight limits on the memory available to a web application and if the the app uses more than a set threshold it will recycle the application to free up the memory. An app that recycles constantly will perform badly.

Best,

Joe

1/18/2010 3:46:04 PM
Gravatar
Total Posts 220

Re: Cache pages on the server?

Hi Joe,

thanks for your detailed explanation. I have no performance problems. I just wanted to be economical and had misconceptions about the "costs" of server memory in relation to the"costs" of database access.

Best
Matthias

You must sign in to post in the forums. This thread is closed to new posts.