For my own needs and my own experiences with heavy traffic sites (200k+ pageviews per day), I find SSI to be very convenient. There aren't many easier ways to coordinate the production of a complex site by numerous people. Also in some circumstances, SSI can be faster than dynamic pages. If the creation of each page involves some nasty database queries or calculations, SSI is probably a faster, better solution.
However, if you are the only person making this site tick (or one of only a few people), then dynamically served pages may be your best bet -- especially if each web user will log in and see different information/prices. Depending on the number of different user types you have, the large number of SSI files could become a real pain to maintain. You can always use some simple HTML templating to keep the *look* of your site easily maintainable.
Just keep your slowest scripts' runtimes under 2 seconds. Granted 2 seconds is a *long* time for any dynamic page script to run, but this time is relative to your environment. My general rule of thumb: >1 sec, you need to optimize some code. >2 seconds, you're probably doing something nasty in the code. And if you have the RAM, get really aggressive with caching on your database. That should help keep the runtimes down.
You'll always have security issues to deal with. So, just be careful.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.