Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Viewing website locally

by Abigail-II (Bishop)
on Jun 14, 2002 at 09:04 UTC ( [id://174439]=note: print w/replies, xml ) Need Help??


in reply to Generating static HTML pages to view a dynamic website locally

Some things you can do:
  • Don't have any dynamic pages. Make the entire website static, and just regenerate it on a regular basis, or whenever a new image is uploaded. This has many advantages for the viewers: things can be cached and performance should be better (less strain on the server). It also means you can tar up the site and view locally.
  • Install a webserver locally. I fail to see what you need to do to adjust the script to "run locally". It's still run from the webserver.
  • Make a crawler than extracts all the pages from the server. You'd have to change all the links and turn them to static pages.
None of this is Perl related. You would face the same problems, with the same solutions, had you written the site using Ada, Haskell or vi-macros.

Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://174439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-23 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found