Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / April 2007



Tip: Looking for answers? Try searching our database.

intranet website and image caching

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
boriq - 27 Apr 2007 15:43 GMT
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
Peter Michaux - 27 Apr 2007 16:01 GMT
> 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
boriq - 27 Apr 2007 22:22 GMT
Peter Michaux nap?sal(a):
> > Hallo,
> >
[quoted text clipped - 9 lines]
>
> 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.
Evertjan. - 27 Apr 2007 22:27 GMT
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.

Signature

Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

jacma983@yahoo.fr - 28 Apr 2007 03:51 GMT
On Apr 27, 11:27 pm, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
> boriq wrote on 27 apr 2007 in comp.lang.javascript:
>
[quoted text clipped - 4 lines]
>
> 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.
Peter Michaux - 28 Apr 2007 04:34 GMT
On Apr 27, 7:51 pm, jacma...@yahoo.fr wrote:
> On Apr 27, 11:27 pm, "Evertjan." <exjxw.hannivo...@interxnl.net>
> wrote:
[quoted text clipped - 13 lines]
> 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
boriq - 30 Apr 2007 09:04 GMT
> On Apr 27, 7:51 pm, jacma...@yahoo.fr wrote:
>
[quoted text clipped - 33 lines]
>
> - 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.