Link to home
Start Free TrialLog in
Avatar of ITsolutionWizard
ITsolutionWizardFlag for United States of America

asked on

mvc cache

I have the following codes in layout page in MVC project.
And I want to use mvc cache. e.g. within 8 hours using the cache. Is it possible?


<li>
                                            <span><a href="#"><i class="icon-bus"></i> Class A</a></span>
                                            <ul>
                                                @foreach (Domain.Fleet fHostAdmin in rv.FleetActiveList(locationName))
                                                {
                                                    if (fHostAdmin.FleetClassType.Substring(0, 1) == classAString)
                                                    {
                                                        <li><a href="@DomainHelper.Generic.GethttpType(Request.ServerVariables["HTTPS"], HttpContext.Current.Request.Url.Authority)/Home/Detail/@fHostAdmin.QuickFindKeyWord?fleetID=@fHostAdmin.Oid"><i class="icon-check"></i> <b>@fHostAdmin.FleetClassType</b>: @fHostAdmin.FleetName <label style="color:red;">(@fHostAdmin.FleetBaseRatePricingLabel)</label> </a></li>
                                                    }
                                                }
                                            </ul>

                                        </li>

Open in new window

Avatar of ITsolutionWizard
ITsolutionWizard
Flag of United States of America image

ASKER

any one helps?
ASKER CERTIFIED SOLUTION
Avatar of Eduard Ghergu
Eduard Ghergu
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial