|
- Objective:
- Speeding
up the display of pages on the user side.
- Thus
avoiding long waits.
Types
of caching:
- Client
side caching
- How
achieved:
- In
general via client-site Javascript or a Java Class server side.
- Preloading
the required pictures into the browser temporary files (cache) en loading
from there.
- Large
quantities can be loaded if server side is used.
- Server
side caching
- How
achieved:
- Avoiding
the multiple generation of pages, by keeping a generated version for
a certain time in the server cache.
- If
caching if used together with auto-GZip compression, pages are compressed
before they are cached. Of course pages which vary constantly will be
compressed but cached with a lifetime of 0 minutes.
- The
browser will do the compression automatically
- Sample
on site: http://www.aat-garden.com
- Here you can see pages with 20-30 pictures on
1 page.
- Caching is actually achieved via a server side
class called from the top of the index page.
- Caching will continue, even if the viewer changes
pages!
- If a normal speed connection is available all
is precached in probably half a minute to 1 minute.
- Sample
on site: http://www.absoft-my.com/pondok
- Uses 100% page compression/caching on server
side.
- Even big pages are reduced to only 4-5K by compression.
|
|