Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Server Header and Mod Headers.c
Closed Thread
Old 11-04-2008, 07:09 PM   #1 (permalink)
 
Newb Techie

Join Date: Jul 2008

Posts: 30

Rex100 is on a distinguished road

Default Server Header and Mod Headers.c

Tech-Forums,

I added

Code:
<IfModule mod_headers.c>
<FilesMatch "\.(ico|jpg|jpeg|gif)$">
Header set Cache-Control "max-age=37440000"
</FilesMatch>
<FilesMatch "\.(css)$">
Header set Cache-Control "max-age=87000"
</FilesMatch>
<FilesMatch "\.(html|htm)$">
Header set Cache-Control "max-age=300"
</FilesMatch>
</IfModule>
to my .htaccess. Should I see this reflected in the server header for my site in some way?

Thanks

Last edited by Mak213; 11-04-2008 at 10:03 PM.
Rex100 is offline  
Old 11-06-2008, 09:42 AM   #2 (permalink)
 
Newb Techie

Join Date: Jul 2008

Posts: 30

Rex100 is on a distinguished road

Default Re: Server Header and Mod Headers.c

..................

Last edited by Rex100; 11-06-2008 at 05:31 PM.
Rex100 is offline  
Old 11-06-2008, 12:59 PM   #3 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,653

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: Server Header and Mod Headers.c

No it is not that. We do not like people multiple posting. There is a Edit button. We ask that for the first 24 hours people use that edit button and edit their post instead of having 2 or more posts from themselves to a topic. It is un-necessary to multi post on your own thread. This is a practice used by almost every forum out there. Not jsut this one.

I dont edit your posts. I merge them. Since you do not edit your posts you multi post. Whic you would know by reading we do not like to see. We want to keep things as clean as possible and having the same person post 2 or more times in a row within 24 hours makes the site messy.

It is not a un-necessary edit. It is un-necessary for you to post multiple times and not use the edit button. It stays active for 24 hours. Also me merging your posts does not remove your topic subscription.

If you feel it is unjust that i merge your posts cause you can not edit them within 24 hours i am sorry. But i am doing what i was asked to do when i became a Mod. This is not something that is not practiced on every forum i have ever seen or been on. Sorry you feel that it is unnecessary but i feel that it is unnecessary for people to make several posts in a row without using the edit feature which as simple as clicking hte Post Reply button.
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is offline  
Old 11-06-2008, 05:30 PM   #4 (permalink)
 
Newb Techie

Join Date: Jul 2008

Posts: 30

Rex100 is on a distinguished road

Default Re: Server Header and Mod Headers.c

I'll edit, instead of posting twice. Other forums you can't edit but you can post again.
Rex100 is offline  
Old 11-08-2008, 11:30 AM   #5 (permalink)
 
Newb Techie

Join Date: Jul 2008

Posts: 30

Rex100 is on a distinguished road

Default Re: Server Header and Mod Headers.c

When I'm signed in there's no edit button to avoid multiple posting.

I found the answer to my question
Cache-Control Headers using Apache and .htaccess - Easy Apache Speed Tips

Rex
Rex100 is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On