473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

intranet website and image caching

Hallo,

I created a project with more that 1000 different pictures in it. The
project website is divided into more subpages. Problem is that these
pages (pictures) are not cached on local harddisc and loading time
through the intranet is very long.
For example: When I click on a link to subpage1 all the pictures from
subpage1 are loaded in browser's memory, then when I click on the
subpage2, all pictures from subpage1 that are in browser's memory are
deleted and pictures from subpage2 are loaded in memory and so on...
so the pictures have to be loaded (through intranet) every time.

Is there a way how to solve it with a help of JavaScript?
I tried something with image preload, but with no success.

I'm using IE 6.
thanks in advance
Rg,
Boris

Apr 27 '07 #1
6 1954
On Apr 27, 7:43 am, boriq <boris.smir...@gmail.comwrote:
Hallo,

I created a project with more that 1000 different pictures in it. The
project website is divided into more subpages. Problem is that these
pages (pictures) are not cached on local harddisc and loading time
through the intranet is very long.
intranet or internet?

Are you setting the cache headers of the images correctly with your
server (eg Apache)?

Peter

Apr 27 '07 #2

Peter Michaux napísal(a):
On Apr 27, 7:43 am, boriq <boris.smir...@gmail.comwrote:
Hallo,

I created a project with more that 1000 different pictures in it. The
project website is divided into more subpages. Problem is that these
pages (pictures) are not cached on local harddisc and loading time
through the intranet is very long.

intranet or internet?

Are you setting the cache headers of the images correctly with your
server (eg Apache)?

Peter
intranet, the project is only for internal purpose. I have no cache
header. It only simple html code. There is no server. The website is
only a html file with directory structure saved in a directory on the
intranet.

Apr 27 '07 #3
boriq wrote on 27 apr 2007 in comp.lang.javascript:
intranet, the project is only for internal purpose. I have no cache
header. It only simple html code. There is no server. The website is
only a html file with directory structure saved in a directory on the
intranet.
Without a server there is no intranet.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Apr 27 '07 #4
On Apr 27, 11:27 pm, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
boriq wrote on 27 apr 2007 in comp.lang.javascript:
intranet, the project is only for internal purpose. I have no cache
header. It only simple html code. There is no server. The website is
only a html file with directory structure saved in a directory on the
intranet.

Without a server there is no intranet.
That is *very* disputable. Actually Wikipedia's definition
of the word intranet doesn't agree with your statement, even
though they write that: "sometimes the term Intranet is used
to refer to the company's internal website". (notice
the "sometimes", which validates my point, not yours)

Just as I think that the Web isn't Internet I think
that the company's internal website isn't the intranet...
And a great many people do share my definition
of what an intranet is.

Apr 28 '07 #5
On Apr 27, 7:51 pm, jacma...@yahoo.fr wrote:
On Apr 27, 11:27 pm, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
boriq wrote on 27 apr 2007 in comp.lang.javascript:
intranet, the project is only for internal purpose. I have no cache
header. It only simple html code. There is no server. The website is
only a html file with directory structure saved in a directory on the
intranet.
Without a server there is no intranet.

That is *very* disputable. Actually Wikipedia's definition
of the word intranet doesn't agree with your statement, even
though they write that: "sometimes the term Intranet is used
to refer to the company's internal website". (notice
the "sometimes", which validates my point, not yours)
If two computers on any intr*net are sharing a file then one is the
server and one is the client. These two computers can both be plain
old PCs and this it doesn't matter if the file is HTML or not.
Just as I think that the Web isn't Internet I think
that the company's internal website isn't the intranet...
The Web runs on the Internet
And a great many people do share my definition
of what an intranet is.
What do you think an intranet is?

Peter

Apr 28 '07 #6
On 28 Apr., 05:34, Peter Michaux <petermich...@gmail.comwrote:
On Apr 27, 7:51 pm, jacma...@yahoo.fr wrote:


On Apr 27, 11:27 pm, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
boriq wrote on 27 apr 2007 in comp.lang.javascript:
intranet, the project is only for internal purpose. I have no cache
header. It only simple html code. There is no server. The website is
only a html file with directory structure saved in a directory on the
intranet.
Without a server there is no intranet.
That is *very* disputable. Actually Wikipedia's definition
of the word intranet doesn't agree with your statement, even
though they write that: "sometimes the term Intranet is used
to refer to the company's internal website". (notice
the "sometimes", which validates my point, not yours)

If two computers on any intr*net are sharing a file then one is the
server and one is the client. These two computers can both be plain
old PCs and this it doesn't matter if the file is HTML or not.
Just as I think that the Web isn't Internet I think
that the company's internal website isn't the intranet...

The Web runs on the Internet
And a great many people do share my definition
of what an intranet is.

What do you think an intranet is?

Peter- Zitierten Text ausblenden -

- Zitierten Text anzeigen -

OK, but the problem is not in server, the problem is that when I have
a website that is loaded from harddisc or intranet that means in
address bar starts with C:\dir\web.html or \\server\dir\web.html its
not cached

Apr 30 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Marwin | last post by:
Hi all, I have a database with 40GB of binary objects stored in image columns in two tables. Our database server is also used for another 15 databases. SQL Server caches the image-column,...
1
by: Grunt | last post by:
Hi, I have been trying to put together a rotating banner. the code works but I am having a problem with the caching of the banner images. no matter what I try the page is constantly reloading the...
10
by: Bugs | last post by:
Hi I have distributed an mdb file that works fine on my PC using Access 2003, but when a copy I sent to someone running Access2003 he gets the error message "missing the intranet or the...
2
by: Mike Sobeiski | last post by:
Hi There! I'm developing a web project that requires to produce charts off the database and output it as image and presented to the user in a HTML document. (NOTE: Image is not directly...
6
by: Suraj Joneja | last post by:
Hi All, I've an image control on my ASP.net page. This displays an image named 'Logo.jpg' in the location '~\Images'. Another application can change this image. It can select any image and...
1
by: Giggle Girl | last post by:
Hello, I am helping to design a web application that uses 167 little icons on various pages in a framed environment. As is, the app loads each icon on a page by page basis, and if an image...
9
by: Mark Denardo | last post by:
This is related to another post I submitted, but I'll be more precise this time. I have a web page that contains an Image webcontrol that loads its image by: Image1.ImageUrl="<username>.jpg",...
4
by: vunet.us | last post by:
Hi, I found a bug in IE6, though it is known already. If I have a CSS background property set to some image, such as background:url(myimg.gif);, and I apply this property to some html element,...
1
by: Jonathan Wood | last post by:
Okay, I've spent considerable time trying to figure out why I get random problems when browsing the images in the Personal Website Starter Kit. (Note: I found a number of these sites on the Web,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.