mcms 2002: about outputcache
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > mcms 2002: about outputcache




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    mcms 2002: about outputcache  
zch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-04 01:47 PM

hi everyone,

I have put the following line in my template file:
<%@ OutputCache Duration="600" Location="Server"
VaryByParam="None" VaryByCustom="CMSPosting"%>
but all pages generated from the template are the
same during the cache time, Can anyone tell me why?
thanks a lot in advance!

zch






[ Post a follow-up to this message ]



    Re: mcms 2002: about outputcache  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-04 01:47 PM

Hi zch,

did you change the global class in the global.asax appropriatly as indicated
in the docs?

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"zch" <anonymous@discussions.microsoft.com> wrote in message
 news:2203a01c45cde$ca151190$a301280a@phx
.gbl...
> hi everyone,
>
> I have put the following line in my template file:
> <%@ OutputCache Duration="600" Location="Server"
> VaryByParam="None" VaryByCustom="CMSPosting"%>
> but all pages generated from the template are the
> same during the cache time, Can anyone tell me why?
> thanks a lot in advance!
>
> zch
>







[ Post a follow-up to this message ]



    Re: mcms 2002: about outputcache  
zch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-04 01:47 PM

hi, stefan

What should I change global class, Can you tell me?
I haven't do anything in global class.
thanks very much!

>-----Original Message-----
>Hi zch,
>
>did you change the global class in the global.asax
appropriatly as indicated
>in the docs?
>
>Cheers,
>Stefan.
>
>--
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>MCMS FAQ:
>http://download.microsoft.com/download/4/2/5/4250f79a-
c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+(complete)+FAQ.htm
>MCMS Blog:
http://blogs.msdn.com/stefan_gossner/category/4983.aspx
>MCMS Sample Code:
>http://www.gotdotnet.com/community/...les/Default.asp
x? ProductDropDownList=Content+Management+S
erver
>MCMS Whitepapers and other docs:
>http://blogs.msdn.com/stefan_gossne...e/2003/12/07/41
859.aspx
>--------------------------------
>
>
>"zch" <anonymous@discussions.microsoft.com> wrote in
message
> news:2203a01c45cde$ca151190$a301280a@phx
.gbl... 
>
>
>.
>





[ Post a follow-up to this message ]



    Re: mcms 2002: about outputcache  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-04 01:47 PM

Hi zch,

as indicated in the MCMS docs you need to derive the global class from
CmsWebApplication rather than System.Web.HttpApplication
See here for details:

/Developing your MCMS site
/Site Development Using MCMS Functionality
/Improving MCMS Web Site Performance
/Enabling ASP.NET Output Caching
/Enabling ASP.NET Output Caching

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"zch" <anonymous@discussions.microsoft.com> wrote in message
 news:220d401c45ceb$b965e830$a301280a@phx
.gbl...[vbcol=seagreen]
> hi, stefan
>
> What should I change global class, Can you tell me?
> I haven't do anything in global class.
> thanks very much!
> 
> appropriatly as indicated 
> confers no rights. 
> c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+(complete)+FAQ.htm 
> http://blogs.msdn.com/stefan_gossner/category/4983.aspx 
> x? ProductDropDownList=Content+Management+S
erver 
> 859.aspx 
> message 







[ Post a follow-up to this message ]



    Re: mcms 2002: about outputcache  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-04 01:47 PM

hi stefan
Thanks very much, you are right,
I have global class to inherit
Microsoft.ContentManagement.Web.CmsHttpApplication
then it is work right!
Thanks again for your help!

zch

>-----Original Message-----
>Hi zch,
>
>did you change the global class in the global.asax
appropriatly as indicated
>in the docs?
>
>Cheers,
>Stefan.
>
>--
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>MCMS FAQ:
>http://download.microsoft.com/download/4/2/5/4250f79a-
c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+(complete)+FAQ.htm
>MCMS Blog:
http://blogs.msdn.com/stefan_gossner/category/4983.aspx
>MCMS Sample Code:
>http://www.gotdotnet.com/community/...les/Default.asp
x? ProductDropDownList=Content+Management+S
erver
>MCMS Whitepapers and other docs:
>http://blogs.msdn.com/stefan_gossne...e/2003/12/07/41
859.aspx
>--------------------------------
>
>
>"zch" <anonymous@discussions.microsoft.com> wrote in
message
> news:2203a01c45cde$ca151190$a301280a@phx
.gbl... 
>
>
>.
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register