<%@ OutputCache Location="None" VaryByParam="None" %>
Because when am using this line in http then the attachment is opening fine but not for https.
But after removing this line then https is working fine.
Can anyone explain?
View Complete Post
I am trying to use
<%@ OutputCache Duration="120" VaryByParam="none" SqlDependency="Quib_VideoGallery:Quib_VideoGallery_Video" %>
at my page but i am getting error
The 'Quib_VideoGallery:Quib_VideoGallery_Video' SqlDependency attribute for OutputCache directive is invalid.Detailed error message: Cannot find the 'Quib_VideoGallery' database in the configuration.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
Exception Details: System.Web.HttpException: The
'Quib_VideoGallery:Quib_VideoGallery_Video' SqlDependency attribute for
OutputCache directive is invalid.Detailed error message: Cannot find the 'Quib_VideoGallery' database in the configuration.
I implemented all its required by reading from internet:
We have many page layouts which are deployed in the "12" folder of MOSS and are Ghosted into the BD by MOSS.
We are going through the step of configuring the cache on the site collection and we want to set specific Cache Profiles to certain Page Layouts.
If we do it via the Master Page Gallery, the Page Layouts are "unghosted" and therefore disconnected from the copy on disk. We cannot deploy them with WSP and we receive this error when trying to open a page again :
The attribute 'autoeventwireup' is not allowed on this page.
After applying the Reset Page Site Definition : see
The pages are working again...
We then tried to do it the "ASP.NET" putting this directly in the ASPX page layouts after the
I'm new to the asp.net forum, so Hello!
After doing some research, I arrived at the conclution that the best caching method for my needs is the built in OutputCache of asp.net. I saw that this directive includes a SqlDependency option and that has a CommandNotification option. Looking in to that, I found only talk of SQL Server 2005.
Has this option been deprecated?
Is there a better option?
What I'm looking to do is cache a page as long as the underlying data has not been changed. I'm using SQL Server 2008 R2 as the backend to the site.