![]() |
Tons of mod_rewrite rules.. going to kick my servers ass?
Hi all, I have a site in the works that uses a dynamic script but plan on using mod_rewrite to make the site appear to be static and was wondering basically if it is going to be resource intensive or if there's a better way to go. Basically I'm going to be doing something like:
Code:
RewriteRule ^/models/tiffanyteen.html$ /page.php?id=1 Thanks, b1ng0 |
2-4 thousand lines is a lot, someone mentioned how much load it will add in the Fusker thread. But I don't remember it right now. But the gist of it was, keep it to a minimum. Here's another way to do it if it's possible:
RewriteRule ^/models/([a-zA-Z]+).html$ /page.php?id=$1 I assume you're pulling the id from a DB of some sort. Make the name unique and pull it from the DB that way instead: /page.php?id=tiffanyteen 1 line and that's it. Just a 10 second idea of mine ;) |
All times are GMT -4. The time now is 05:40 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc