Output caching on iis 7 Asp.net

hi
how i can enable output caching on my server 2008 for my asp.net application
i read many articles about the caching on iis 7 but when i test it it seems it doesnt got enabled
kamal_2002Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ted BouskillConnect With a Mentor Senior Software DeveloperCommented:
It looks like you could optimize the images more.  I checked with a tool called SmushIt that is available with YSlow and you could save about 10% on that alone.

Your Javascript is huge.  181K and you aren't letting the browser cache the Javascript because you are using the 'Expires' header on them.  Once again, please use the recommendations in YSlow.  Have you even tried it?
0
 
Ted BouskillSenior Software DeveloperCommented:
What tests are you using to determine it's not working?  Caching won't help all web applications.  How you write your application has a tremendous impact on whether or not caching will help.
0
 
kamal_2002Author Commented:
i run a test using this site
http://webpagetest.org/

and it shows me that caching is not working
my site is asp.net 3.5
i need to enable caching to improve the response,speed of my site
if their is any advances to increase the speed i will appreciate it
thx
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Ted BouskillSenior Software DeveloperCommented:
With the information you've given me I cannot help.
0
 
kamal_2002Author Commented:
ok
im trying to increase the performance and speed of my website by enabling caching
im using Asp.net 3.5 ,Ajax , SQl 2005
im trying to increase the loading time of my site

one of the recommended setting is to enable output caching on iis 7

my server is windows 2008

so can you help me how to enable it and if their is any thing i can use to increase the speed of my site
thx
0
 
Ted BouskillSenior Software DeveloperCommented:
I wouldn't trust a site like that to determine where your site is slow.

Setting the output cache is achieved using a Page directive in ASP.NET (not IIS)

However, AJAX and SQL 2005 could be slowing your site tremendously.  There are a lot of things that can prevent pages from loading quickly and even the browser can have an effect.  The Javascript engine in Chrome and Opera is about 40 times faster than IE 8.  If your page has a lot of Javascript IE could be the problem.

You are simply telling me the technology you've used.  I need to know how you've implemented it.  Are all the pages slow?  How long to they take to load?  Are the slowest pages the ones with lots of SQL connections?
0
 
kamal_2002Author Commented:
well
Loading time is about 13 sec
my site is http://www.jo-auto.com
my server specification is Quad core Processor 2.83 and 4 GB or ran
im using ajax version 1.0.20229.0

most of my website is images based , and also i have resize their size

also in windows server 2008 ,iis 7 their is a feature for enabling output caching
0
 
Ted BouskillSenior Software DeveloperCommented:
OK, using YSlow installed with Firefox your site received poor grades.  I'd strongly recommend you try it to review your site and start making changes.

Your site is using ASP.NET and it will override settings in IIS 7.  If you want to precisely control your ASPX pages you need to do it using Page directives.

Your site is very complex and there could be a lot of bottlenecks and I'm not sure Output Caching will fix all of them.  First run Firefox with the YSlow plug-in to analyze your site and implement as many recommendations as you can.

Then I'd recommend you run the SQL profiler to analyze your queries.   Sites like www.sql-server-performance.com have lots of great tips for analyzing your SQL database.

I notice your page is VERY large.  Nearly 1MB.  Considering some sites I've built are required to stay under 80K you are nearly 14 times larger than I've been allowed on some applications.
0
 
kamal_2002Author Commented:
hi Sage
Thank u for your reply
My site is mainly for selling cars , so it is image based and due to that the size is very large about 1 MB
is their any method or technique your recommend me to do to reduce the page size or speed the performance
0
 
kamal_2002Author Commented:
yes tedbilly , i have tried yslow and now im following it
thanks alot for your help
0
 
kamal_2002Author Commented:
i will use the tool SmushIt  also yslow for making better designing
0
All Courses

From novice to tech pro — start learning today.