Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
How does .htaccess affect site performance
Old 11-15-2007, 02:20 AM How does .htaccess affect site performance
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
My server is using keep alives. I've got my jscript and css in external files to let the browser cache them efficiently. On the other hand, I'm choosing quality over size when I save jpeg files, and I've got a few sites on the same account.

I'm guessing .htaccess is parsed by the server before it handles each request, because the changes take place immediately. Does anyone know if the file is cached until it's overwritten? I've implemented this in several applications, so it would be easy for Apache, but I'm not sure whether that's the case? If it's coming from memory that shouldn't be nearly as bad as if I'm incurring more disc I/O with each of the several requests it takes to render each page. On a gallery, that could be 20 or more thumbs, along with everything else.

I'd like to make it so that a link to a particular jpeg file that doesn't have my site, this one, or a few others, gets redirected to the page it would be displayed on. Right now I've got that set up to send requests for jpegs that aren't on a white list to my home page; there are more than a hundred photos and corresponding pages.

Basically, I don't want random sites to be able to either hotlink, or send people off to a jpeg of mine without the user also seeing the story behind the image, and navigation out to other photos they'd like. I'm not even selling prints or stock, I just want people to find their way into my galleries.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
 
Register now for full access!
Reply     « Reply to How does .htaccess affect site performance
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08789 seconds with 12 queries