Closed Bug 94561 Opened 23 years ago Closed 22 years ago

[RFE] More transparent/obvious caching [don't change extensions of files in cache]

Categories

(Core :: Networking: Cache, enhancement)

PowerPC
Mac System 9.x
enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 90558
mozilla1.0.1

People

(Reporter: bugzilla, Assigned: gordon)

References

Details

Netscape 6.1 Suggestion
 
Primary Browser: 	iex  5 Mac
Language: 		Spanish  
Component: 		Navigator
Suggestion Category: 	Improvements  
Issues Details: 
As a web developer I NEED access to the cache.
Call that robbery, inspiration, or just
sneakpeaking, but  I need having a look to certain
.js, .swf or whatever other non-easy-downloading
files.

That is the only reason why I kept Netscape 4 in
my Mac, while my pirmary browser is IE5 (in a
Mac), besides for cross-browser compatibility of
my pages, of course. But for simple user
navigating I used IE5 since N4 is, simply put, an
absolute standards breaker. It, anyhow, was the
only browser that let me access files in the
cache. IE has a closed cache inaccessible to a user.

Now, I'm dazzled by N6.1 and how good it has
become from an absolut sh#t as N4 was, but
unfortunately, it follows IE5 (Mac) trend as to
not showing the cache in a transparent manner.

N6.1 does not use filename extensions as .htm,
.gif or .swf in its cache, and thus, it is
virtually impossible for me to dig its cache to
look for the files I am interested in.

N6.1 seems to pretend to be the developer's
favourite browser, still, without transparent
caching it is not going to get that, at least it
is not going to be mine. Sadly I still need N4
then. Please, fix this for N6.11
Actually, this would be good for all platforms.  One use for this is, after
watching a streaming Quicktime (for one example) in NS 4.x, I can go to the
cache and find the .MOV file and copy it.  This lets me watch the movie or show
it to friends without downloading it again.  On Mozilla, this is impossible,
unless I can figure out from the timedate stamp and file size which file it is.

I'd suggest changing the description to "Preserve file extensions in cache" or
seomthing, and making the platform All/All.
Aren't you really asking for a way to save any file?  Why don't we change the
RFE to that, rather than specify how the cache should be implemented?  We're
actually moving away from saving everything as a separate file (it's not very
efficient).  I think we should rephrase the RFE so we can still achieve the
functionality you want, regardless of how/whether documents are stored in the cache.
Gordon, I can't speak for Blake, though from reading his description, it sounds
like what you propose would be fine.  It would suit me, so long as I had a
(relatively) easy way to *find* and save the contents of any file that is in the
cache.
It doesn't really matter whether the document is in the cache or not, or if
there even IS a cache.  What I imagine you want is something like "save this
page...and all documents it requires" (.js, .jpg, .gif, etc.).  Would that do?
I don't want to usurp Blake's bug here (sorry, Blake), but my example about
Quicktime movies is the most common use I have for this feature.  Would Mozilla
recognize the QT movie as a "required document" in such cases?  In the
registered version of Quicktime, under Browser Plugin settings, there's a
checkbox for "Save movies in disk cache".  I don't know how this interacts with
a browser to know whether what you suggest would work, Gordon.  All I know is,
with NS 4.x, after viewing the movie, I'd go to the cache folder, look at the
most recent files and find the one with the right size and file extension, and
I'd copy that.  Preferably, I'd like to have an equally easy way to get at the
file in Mozilla.
I don't think you're usurping Blake's bug.  My suggestion to rephrase the
request was made in the hope it could encompass both your needs.  He stated that
he wanted to examinne files that happened to be in the cache that we not easy to
download.  I suggest we make them easier to download, rather than specify how
the cache should store them.  That gives users the functionality of getting
files they want, while leaving the cache free to store data in the most
efficient/performant way possible.

Blake?
Well, I was just bringing over some user's 6.1 feedback; I'm afraid I can't
clarify :-)

But yeah, saving a page images and all is a much requested feature.
Gordon: in that case, sure.  It doesn't really matter to me how this is done, so
long as it doesn't require some convoluted method to access or acquire the
files.  And the more efficient the cache, the better.
Target Milestone: --- → mozilla1.0
Try typing about:cache into the URL bar.  I would say that works even better
than snooping in the cache dir in NS4.
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
I have indexing software installed that indexes all words in known documents
(HTM as well). If I want to be able to search through browser cache, I need
cached pages to have extension HTM or HTML.

Extension of files in cache should be those of original files, i.e. mostly .htm
or .html. This will allow to Indexing software to search words in browser cache
and open cached documents.
*** Bug 133682 has been marked as a duplicate of this bug. ***
changing summary for easier finding
Summary: [RFE] More transparent/obvious caching → [RFE] More transparent/obvious caching [don't change extensions of files in cache]
Where is this bug headed?

We can now save complete documents, so that is a non-issue, or outside the scope
of this bug.  Keeping extensions for cached files is bug 91595.  Cache viewing
can already be used to view files in the cache.  Is there anything left to do here?
Yes.  To use my previous examples, if I go to a page that has an embedded
Quicktime movie, doing a Save Complete Page does not save the Quicktime movie. 
If I don't use the Pro version of Quicktime, I wouldn't be able to save the
movie at all.

Please note I'm using Quicktime as an example because it's easy to test.  This
could apply to any kind of file.
Try getting the page info (View -> Page Info), go to the media tab, select the
movie, and click "Save As."
Problem solved.
Burpmaster, try going to
http://www.apple.com/trailers/disney/lilo_and_stitch-6.html and see if you can
use Page Info to save the actual trailer.  I can't.  All I can do is save the
small Quicktime movie that displays "Click here to begin"
That is a rather odd case, and you can browse to about:cache to look in the cache.
But you'll see that they're making sure that movie never gets cached in the
first place.  There's probably nothing Mozilla can do to allow you to save that
movie.
*** Bug 91595 has been marked as a duplicate of this bug. ***
actually, this bug and the one I just duped to this are probably duplicates as well.

*** This bug has been marked as a duplicate of 90558 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.