With code you have to do yourself I have used on left navigation and just write the code on top
<%@ OutputCache Duration=60 VaryByParam=none%> Just do some google. On Thu, Nov 20, 2008 at 10:39 AM, Troy International <[EMAIL PROTECTED]>wrote: > So it is possible to view website done by you... > > ok , let me know how to use cache , can you provide the code...? > > I have used this code .. is it correct > > <system.web> > <caching> > <outputCacheSettings> > <outputCacheProfiles> > <add name="profile" duration="60" enabled="true" varyByParam="*" /> > </outputCacheProfiles> > </outputCacheSettings> > </caching> > </system.web> > > In each web page ie: Content page > <%@ OutputCache Duration="60" CacheProfile="profile" %> > > Thanks > > > > On 11/20/08, jack me <[EMAIL PROTECTED]> wrote: >> >> I am using 3 layer architecture. my websites were management sites for >> specific companies. >> I have used caching only in a project. output cache. Usually make user >> control for specifuc parts like left nav. top nav. etc. That does nt matter >> what type of pages are in your project these does not have any effect on >> projects performance. >> >> >> Jack >> >> On Thu, Nov 20, 2008 at 10:30 AM, Troy International <[EMAIL PROTECTED] >> > wrote: >> >>> Let me tell the website so i am going to have a look..! >>> >>> I have used cache in my project but it doesnt give such performance >>> >>> if you know...? >>> >>> can you tell how to use cache in my project , in my project i have both >>> dynamic >>> >>> and static page..? >>> >>> to improve your site performace wat are the steps followed in your >>> project..? >>> >>> >>> >>> >>> On 11/20/08, jack me <[EMAIL PROTECTED]> wrote: >>>> >>>> I have worked in near 12-13 websites. Page should display before 25-30 >>>> seconds after request. Otherwisse user wil not stay. 25-30 is the maximum >>>> limit. >>>> >>>> In Caching request uses the stored cache. >>>> >>>> I am not telling that i know the definition. >>>> >>>> >>>> >>>> On Thu, Nov 20, 2008 at 10:20 AM, Troy International <troy2.net@ >>>> gmail.com> wrote: >>>> >>>>> have you done any website.. >>>>> >>>>> and whether you face the same issue...? and wat are the step you take >>>>> to overcome...these >>>>> >>>>> facts , Shall i look it..... >>>>> >>>>> would you know about the cache..? >>>>> >>>>> >>>>> On 11/20/08, jack me <[EMAIL PROTECTED]> wrote: >>>>>> >>>>>> These are normal in every project. >>>>>> I understand project can not disclose. >>>>>> Without see all can just make a prediction. >>>>>> Images should not heavy site. like JPEG is lighter that gif. >>>>>> >>>>>> Site loading also depends on your internet speed. >>>>>> >>>>>> Jack >>>>>> >>>>>> On Thu, Nov 20, 2008 at 10:10 AM, Troy International <troy2.net@ >>>>>> gmail.com> wrote: >>>>>> >>>>>>> now it has stopped due to some Uploading is going >>>>>>> >>>>>>> i n my site i have used css class , images even the master take time >>>>>>> to load..... >>>>>>> >>>>>>> basically we have used tables in HTML source.... >>>>>>> >>>>>>> i have used stored procedures only so i think it is not the big >>>>>>> issue..? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 11/20/08, jack me <[EMAIL PROTECTED]> wrote: >>>>>>>> >>>>>>>> There are many things as i m understand , If there are many requests >>>>>>>> going to sqlserver from page which is slow. That may be reason. Your >>>>>>>> design >>>>>>>> matters. Images used on pages...heavy or not. Can i see that site, >>>>>>>> >>>>>>>> Jack >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Nov 20, 2008 at 9:26 AM, Troy International <troy2.net@ >>>>>>>> gmail.com> wrote: >>>>>>>> >>>>>>>>> hi i have used stored procedure...? using SqlServer database >>>>>>>>> >>>>>>>>> we have created website it is very slow to load .... >>>>>>>>> >>>>>>>>> and also i have used the cache that i have mentioned above but it >>>>>>>>> seem not work.. >>>>>>>>> >>>>>>>>> Whether the above code for the Cache is correct one? >>>>>>>>> >>>>>>>>> Else is there any changes..to do. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On 11/19/08, Stephen Russell <[EMAIL PROTECTED]> wrote: >>>>>>>>>> >>>>>>>>>> You have to tell us what you are doing in your application. Do >>>>>>>>>> not paste your entire page's code! >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Explain what you are doing. Next point out what is slow. You >>>>>>>>>> could say that the form populates fast but the dropdown that loads >>>>>>>>>> the grid >>>>>>>>>> is slow. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Next tell us how you are dealing with data, is it in XML files, or >>>>>>>>>> Access SQL Server or Excel csv files. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> After we know what your doing we can give you a heads up. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ………………………………………………………………… >>>>>>>>>> >>>>>>>>>> Stephen Russell – >>>>>>>>>> >>>>>>>>>> Senior Visual Studio Developer, DBA >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Memphis, TN >>>>>>>>>> >>>>>>>>>> 901.246-0159 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> *From:* [email protected] [mailto: >>>>>>>>>> [EMAIL PROTECTED] *On Behalf Of *Troy >>>>>>>>>> International >>>>>>>>>> *Sent:* Tuesday, November 18, 2008 9:54 PM >>>>>>>>>> *To:* [email protected] >>>>>>>>>> *Subject:* [DotNetDevelopment] Re: How to improve site speed ... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Let me know how to use the Cache, Application class, LINQ, and XML >>>>>>>>>> for simpler data storage. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I have used the cache in my config file but also the site is very >>>>>>>>>> slow to load >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> this is i have used in my project >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> <system.web> >>>>>>>>>> <caching> >>>>>>>>>> <outputCacheSettings> >>>>>>>>>> <outputCacheProfiles> >>>>>>>>>> <add name="profile" duration="60" enabled="true" varyByParam="*" >>>>>>>>>> /> >>>>>>>>>> </outputCacheProfiles> >>>>>>>>>> </outputCacheSettings> >>>>>>>>>> </caching> >>>>>>>>>> </system.web> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> In each web page ie: Content page >>>>>>>>>> <%@ OutputCache Duration="60" CacheProfile="profile" %> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Whether the code is correct...? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Let me know is there any wrong..? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 11/19/08, *Brandon Betances* <[EMAIL PROTECTED]> wrote: >>>>>>>>>> >>>>>>>>>> Silly people still using ADO.NET <http://ado.net/> and querying >>>>>>>>>> the DB everytime they want to manipulate the data. Learn about the >>>>>>>>>> Cache, >>>>>>>>>> Application class, LINQ, and XML for simpler data storage. >>>>>>>>>> >>>>>>>>>> Also if you not using a webserver or local IIS, the VS Development >>>>>>>>>> Server is very slow. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Nov 18, 2008 at 8:23 AM, Stephen Russell < >>>>>>>>>> [EMAIL PROTECTED]> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Less is More is a design philosophy that few people understand. >>>>>>>>>> >>>>>>>>>> Are you doing any Select * from ..... for your data? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ......................... >>>>>>>>>> Stephen Russell - >>>>>>>>>> Senior Visual Studio Developer, DBA >>>>>>>>>> >>>>>>>>>> Memphis, TN >>>>>>>>>> 901.246-0159 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -----Original Message----- >>>>>>>>>> From: [email protected] >>>>>>>>>> [mailto:[EMAIL PROTECTED] On Behalf Of Venkatu >>>>>>>>>> Sent: Monday, November 17, 2008 11:11 PM >>>>>>>>>> To: DotNetDevelopment, VB.NET <http://vb.net/>, C# .NET, >>>>>>>>>> ADO.NET<http://ado.net/>, >>>>>>>>>> ASP.NET <http://asp.net/>, XML, XML Web >>>>>>>>>> Services,.NET Remoting >>>>>>>>>> Subject: [DotNetDevelopment] How to improve site speed ... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> hi >>>>>>>>>> >>>>>>>>>> Good morning to all >>>>>>>>>> >>>>>>>>>> I have created a web project it working fine , but its slow,.... >>>>>>>>>> >>>>>>>>>> so how shall i improve the speed of the site.. performance speed >>>>>>>>>> >>>>>>>>>> Let anyone suggest a solution.../ >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> No virus found in this incoming message. >>>>>>>>>> Checked by AVG - http://www.avg.com >>>>>>>>>> Version: 8.0.175 / Virus Database: 270.9.4/1790 - Release Date: >>>>>>>>>> 11/17/2008 >>>>>>>>>> 8:48 AM >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> No virus found in this incoming message. >>>>>>>>>> Checked by AVG - http://www.avg.com >>>>>>>>>> Version: 8.0.175 / Virus Database: 270.9.6/1797 - Release Date: >>>>>>>>>> 11/18/2008 11:23 AM >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> >
