Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-05-2009, 09:21 PM   #1
Les Grossman
So Fucking Banned
 
Join Date: Sep 2009
Location: On your last nerve
Posts: 1,012
How to make a an Expires or a Cache-Control header?

I'm reading this is the best way to use static images, but don't understand how to put it into play.

Any help would be appreciated.
Les Grossman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-05-2009, 09:27 PM   #2
Meorazhar
Confirmed User
 
Meorazhar's Avatar
 
Industry Role:
Join Date: May 2005
Location: ICQ: 5262689
Posts: 672
here's a piece from my httpd.conf

<ifmodule mod_expires.c>
<filesmatch "\.(jpg|ico|gif)$">
ExpiresActive on
ExpiresDefault "access plus 14 days"
</filesmatch>
</ifmodule>
Meorazhar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-05-2009, 09:45 PM   #3
Les Grossman
So Fucking Banned
 
Join Date: Sep 2009
Location: On your last nerve
Posts: 1,012
Quote:
Originally Posted by Meorazhar View Post
here's a piece from my httpd.conf

<ifmodule mod_expires.c>
<filesmatch "\.(jpg|ico|gif)$">
ExpiresActive on
ExpiresDefault "access plus 14 days"
</filesmatch>
</ifmodule>
Is there a reason you chose 14 days? I assume after 14 days, this is when they must re-cache the images?

Thanks!
Les Grossman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-05-2009, 09:55 PM   #4
Meorazhar
Confirmed User
 
Meorazhar's Avatar
 
Industry Role:
Join Date: May 2005
Location: ICQ: 5262689
Posts: 672
Quote:
Originally Posted by Les Grossman View Post
Is there a reason you chose 14 days?
no ;)
Quote:
Originally Posted by Les Grossman View Post
I assume after 14 days, this is when they must re-cache the images?
that's right
Meorazhar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-05-2009, 09:59 PM   #5
Les Grossman
So Fucking Banned
 
Join Date: Sep 2009
Location: On your last nerve
Posts: 1,012
Quote:
Originally Posted by Meorazhar View Post
no ;)that's right
Thanks for the help.
Les Grossman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.