InMotion Hosting Support Center

How do I use HTTP headers for caching webpages?

2011-12-06 10:58 am EST

Hits: 10,811
Hi, I would like to change server behaviors for http headers. I have no idea how to find these files though. I've found resources online that help me in figuring out how to do the coding, but have no idea where to put that information at( or in?). Is this related to "apache handlers"? or is there a way to directly accesss the .htaccess file and adjust the settings in there? How can I find what the server settings default is at?

thanks much in advance !!!!

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by InMotion Hosting staff


Tim S
12,660 Points
2011-12-06 11:08 am EST
Hi quignov,

Thanks for posting your question. I'm more than happy to assist you today. Before I can offer support, I need to know what you are trying to do when modifying the http headers. Once I have this information, I can try to find a solution for you. You said you found resources for writing the code, can you send me a link to that?

.htaccess files can be created and edited as you see fit and can be placed in any directory you want to have one. What default settings are you looking for exactly?

***UPDATE*** Since I've seen you want use use HTTP headers to control webpage caching, there's a great tutorial that may help you learn more about it:

Caching Tutorial for Webmasters

If you need further assistance please feel free to contact us.

Thank you!

Tim S

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!