Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Leverage browser caching

Reply
Thread Tools

Leverage browser caching

 
 
Jeff
Guest
Posts: n/a
 
      02-28-2010
hi

asp.net 3.5

My site gets 84/100 from the Page Speed utililty in FireFox. Google uses
site performance as a factor for ranking. PageSpeed suggest I should do
something with browser caching.:

Page Speed mentions the sites CSS file and google adsense for caching:

for CSS Page Speed says:
The following resources are missing a cache expiration. Resources that do
not specify an expiration may not be cached by browsers. Specify an
expiration at least one month in the future for resources that should be
cached, and an expiration in the past for resources that should not be
cached:

for google adsense Page Speed says:
The following cacheable resources have a short freshness lifetime. Specify
an expiration at least one month in the future for the following resources:

Not sure how I should specify the cache here. I know I can specify a meta
tag:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PRIVATE">
but wonder more about the security as people can register and logon to my
site (e.g create profiles), then user logs out and other people on the same
computer can gain access to data which originally needs authentication to
reach. - unanthenticated users gain unathorized access to information. My
site is not a internet bank or something like that, but I like to keep the
security good, having a dodgy security may lower the user experience

what you suggest?


 
Reply With Quote
 
 
 
 
Andrew Morton
Guest
Posts: n/a
 
      03-01-2010
Jeff wrote:
> asp.net 3.5
>
> My site gets 84/100 from the Page Speed utililty in FireFox. Google
> uses site performance as a factor for ranking. PageSpeed suggest I
> should do something with browser caching.:
>
> Page Speed mentions the sites CSS file and google adsense for caching:


You can set the expiration in IIS Manager. (You didn't mention which IIS
version you're using, but with IIS6 it's under the HTTP Headers tab of the
Proprties for the entity you want to adjust it for.)

Is there really any security aspect to your CSS files? Or are they generated
rather than static?

Andrew


 
Reply With Quote
 
 
 
 
Jeff
Guest
Posts: n/a
 
      03-01-2010
The CSS is static.
I use IIS6 with shared hosting, not sure I can tweak the IIS6 settings
myself. I ask the host if he could enable compression on my site, but said
they couldn't do it as it was on a shared solution



"Andrew Morton" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Jeff wrote:
>> asp.net 3.5
>>
>> My site gets 84/100 from the Page Speed utililty in FireFox. Google
>> uses site performance as a factor for ranking. PageSpeed suggest I
>> should do something with browser caching.:
>>
>> Page Speed mentions the sites CSS file and google adsense for caching:

>
> You can set the expiration in IIS Manager. (You didn't mention which IIS
> version you're using, but with IIS6 it's under the HTTP Headers tab of the
> Proprties for the entity you want to adjust it for.)
>
> Is there really any security aspect to your CSS files? Or are they
> generated rather than static?
>
> Andrew
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do Java developers leverage the full potential of code examples? Ohad Barzilay Java 0 03-05-2011 04:43 PM
Disable page caching without disabling caching of jpegs andstylesheets etc JimLad ASP .Net 3 01-21-2010 10:13 AM
Fragment Caching inside page caching? Troy Simpson ASP .Net 0 01-19-2004 11:57 AM
Prevent Browser Caching for a Page R. Ian Lee ASP .Net 3 10-23-2003 02:47 AM
trouble with caching or caching the trouble Hypo ASP .Net 6 08-01-2003 07:11 AM



Advertisments