Hi,
All images on my ASP.Net web site are reloaded almost each time I visit a
page. My chache setting on IE is set to Automatically. When I visit another
web site, images are rarely reloaded so it's fast. This slows down my site
and it's really a pain in the neck.
All my web pages are dynamic and are built from a database. There no meta
field or Response.Expire s...
So I was wondering if ASP.Net has something to do with this? How can I force
images to be put in cache?
Test by yourself to see what I'm talking about : http://www.nuouz.com
Thanks for any help
Stephane 6 1444
Hi Stephanie,
If you're using the 2.0 framework, then you're experiencing the same bug
I've been dealing with for a couple months (since we upgraded). I've
tried everything, ranging from setting NO content expiration date in IIS
to hardcoding cache settings in the web code, all to no avail.
I really do chalk it up to a bug, though it seems to be a sporadic one
as not all folks seem to have this problem. Could be an interaction bug
between 2.0 framework and web server?
-Roy
*** Sent via Developersdex http://www.developersdex.com ***
Could that be because the view state field? That's the only thing that I see
changing in all my pages.
Thanks
Stephane
"Stephane" wrote: Hi,
All images on my ASP.Net web site are reloaded almost each time I visit a page. My chache setting on IE is set to Automatically. When I visit another web site, images are rarely reloaded so it's fast. This slows down my site and it's really a pain in the neck.
All my web pages are dynamic and are built from a database. There no meta field or Response.Expire s...
So I was wondering if ASP.Net has something to do with this? How can I force images to be put in cache?
Test by yourself to see what I'm talking about: http://www.nuouz.com
Thanks for any help
Stephane
Possibly. I don't see how, but possibly.
I've pretty much been forced to eliminate all but the most essential
imagery from my work sites (which fortunately don't need to be all that
"pretty" to begin with given the user-base, but still).
RE: Images not put in cache
From: Stephane
Could that be because the view state field? That's the only thing that I
see
changing in all my pages.
Thanks
Stephane
*** Sent via Developersdex http://www.developersdex.com ***
They're being cached here okay. Though looks like several
of them are dynamic images referencing aspx files. The browser
can't cache these normally. It goes by URL, so it's going to call aspx
files each time and run them to get another stream.
Is your client computer date set right?
Another reason it may be slower is that you have too many
object references. Even when they load of the cache the
browser still needs to make a connection for each and
determine whether it needs to use the cache or re-load.
This can be expensive, especialy if the site is served from
a very distant location, nothing to do with ASP.NET here.
Looks like this is hosted somehwere in SoCal, so if it's being
used by someone in Europe it's going to be slow. For that
you need to reduce the number of object references to get
it rendered there faster.
"Stephane" <St******@discu ssions.microsof t.com> wrote in message
news:D0******** *************** ***********@mic rosoft.com... Hi,
All images on my ASP.Net web site are reloaded almost each time I visit a page. My chache setting on IE is set to Automatically. When I visit
another web site, images are rarely reloaded so it's fast. This slows down my site and it's really a pain in the neck.
All my web pages are dynamic and are built from a database. There no meta field or Response.Expire s...
So I was wondering if ASP.Net has something to do with this? How can I
force images to be put in cache?
Test by yourself to see what I'm talking about: http://www.nuouz.com
Thanks for any help
Stephane
Hi,
Thanks for your answer.
What do you mean by "you need to reduce the number of object references to get
it rendered there faster."? What is an object reference?
Thanks
Stephane
"Raymond" wrote: They're being cached here okay. Though looks like several of them are dynamic images referencing aspx files. The browser can't cache these normally. It goes by URL, so it's going to call aspx files each time and run them to get another stream.
Is your client computer date set right?
Another reason it may be slower is that you have too many object references. Even when they load of the cache the browser still needs to make a connection for each and determine whether it needs to use the cache or re-load. This can be expensive, especialy if the site is served from a very distant location, nothing to do with ASP.NET here. Looks like this is hosted somehwere in SoCal, so if it's being used by someone in Europe it's going to be slow. For that you need to reduce the number of object references to get it rendered there faster.
"Stephane" <St******@discu ssions.microsof t.com> wrote in message news:D0******** *************** ***********@mic rosoft.com... Hi,
All images on my ASP.Net web site are reloaded almost each time I visit a page. My chache setting on IE is set to Automatically. When I visit another web site, images are rarely reloaded so it's fast. This slows down my site and it's really a pain in the neck.
All my web pages are dynamic and are built from a database. There no meta field or Response.Expire s...
So I was wondering if ASP.Net has something to do with this? How can I force images to be put in cache?
Test by yourself to see what I'm talking about: http://www.nuouz.com
Thanks for any help
Stephane
Images, script files, all those aspx references, global style sheets,
all those are object references for which the browser needs to
make connections.
"Stephane" <St******@discu ssions.microsof t.com> wrote in message
news:C4******** *************** ***********@mic rosoft.com... Hi,
Thanks for your answer.
What do you mean by "you need to reduce the number of object references to
get it rendered there faster."? What is an object reference?
Thanks
Stephane
"Raymond" wrote:
They're being cached here okay. Though looks like several of them are dynamic images referencing aspx files. The browser can't cache these normally. It goes by URL, so it's going to call aspx files each time and run them to get another stream.
Is your client computer date set right?
Another reason it may be slower is that you have too many object references. Even when they load of the cache the browser still needs to make a connection for each and determine whether it needs to use the cache or re-load. This can be expensive, especialy if the site is served from a very distant location, nothing to do with ASP.NET here. Looks like this is hosted somehwere in SoCal, so if it's being used by someone in Europe it's going to be slow. For that you need to reduce the number of object references to get it rendered there faster.
"Stephane" <St******@discu ssions.microsof t.com> wrote in message news:D0******** *************** ***********@mic rosoft.com... Hi,
All images on my ASP.Net web site are reloaded almost each time I
visit a page. My chache setting on IE is set to Automatically. When I visit another web site, images are rarely reloaded so it's fast. This slows down my
site and it's really a pain in the neck.
All my web pages are dynamic and are built from a database. There no
meta field or Response.Expire s...
So I was wondering if ASP.Net has something to do with this? How can I force images to be put in cache?
Test by yourself to see what I'm talking about: http://www.nuouz.com
Thanks for any help
Stephane This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave Griffiths |
last post by:
Hi all
Very new to JavaScript, I am trying to cache a number of images as the
page loads, is there a max number of images or memory usage before the
browser stops caching.
My PC has 1G ram so if it's a physical memory constraint then I think I am
away from that. I am trying to cache about 600K images, (this if for an
intranet so the page load time is fast) but I need the speed of cached
images for the page to work correctly. I seem to...
|
by: Fabian |
last post by:
var preload1 = new Image(); preload1.src = "/pic/yay.gif";
var preload2 = new Image(); preload2.src = "/pic/nay.gif";
The above is meant to preload image files, yes? Problem is, it doesnt
seem to be doing so in practice. Any idea where Im going wrong? Could it
be that things work differnetly when in an attached .js file?
--
--
|
by: Penelope Baker |
last post by:
Greetings:
I cannot seem to get IE 6.0 to pre-cache my rollover images. Every time the
user rolls over a link, it rereads it from the server, even though it is
well into the cache by that time. It works fine in Netscape, Mozilla,
Firebird, Firefox, etc. Suggestions? (Other than the obvious one regarding
IE :P)
Thanks!
|
by: Vinay |
last post by:
Hi All:
I have a small application that stores images either in the database or as
files (depending on the user preference). I'm in the process of providing a
web interface to this application.
1. If the images are stored in the DB then, every an image is requested, it
will need to be pulled out and a temp file created and then displayed? What
is the best way to do this?
|
by: billrdio |
last post by:
I am trying to make a JavaScript animation of real-time images - i.e.
images that will periodically change on the server. The problem I am
having is that the JavaScript animation I have created is always using
the images from the cache, even though I have set the HTTP response
header on the server (via .htaccess) so that the browser should
validate the image in the cache against the image on the server for
freshness. I have tested the...
| |
by: Jim |
last post by:
I know this is a little off-topic for C#, but I'm writing
my user controls with C#, and the other more HTML-related
groups looked like there hasn't been activity in days for
some reason... anyway....
I am wanting to create a user control (ASCX) that contains
a navigation panel so that I can simply include it on
pages within my site. The ASCX will contain images for
the buttons, and incldue script to make the buttons light
up when...
|
by: sviau |
last post by:
any settings i need to set so that IE and other browsers cache the images
properly, especially during a preload.
it seems that using IE, the images are being requested each time when
refresh instead of accessing in browser cache
do we have to set the cache-control: public in asp.net page; currently its
set to cache-control:private
our images are not stored on the web servers but on dedicated image servers...
|
by: David P. Donahue |
last post by:
Currently, when I want to display an image from a database in my
website, I reference another page with a query string argument of that
image's unique ID in the table. Then that other page grabs the image
and the content type from the database and writes it out to the client.
However, this model seems to be a bit heavy on database overhead when
dealing with a page with many such images. For example, a page which
lists all users on a...
|
by: wardemon |
last post by:
Hi All,
I have a aspx page named: ImageProcess.aspx that creates a thumbnail
version of an image by passing the ImagePath, width, and height. The
ImagePath is taken from a table from a database, while width and
height is user specific - meaning user can change this on demand.
My question is, although this rendering images on the fly is cool, I
would like to implement some sort of mechanism/logic that it wont keep
rendering the thumbnail...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |