caching with authorization header

This is a discussion on caching with authorization header within the Apache forums in Application Servers & Tools category; Hi all, I am trying to understand the apache documentation regarding cacheable content. From the documenation ( http://httpd.apache.org/docs/2.2/caching.html ): --------------------- Begin Apache 2.2 DOCUMENTATION ----------------------- What Can be Cached? mod_cache caching on the other hand is more complex. When serving a request, if it has not been cached previously, the caching module will determine if the content is cacheable. The conditions for determining cachability of a response are; 4. If the request contains an "Authorization:" header, the response will not be cached. 5. If the response contains an "Authorization:" header, it must also contain an "s-maxage", "must-revalidate" or "public" option ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-31-2008, 04:40 PM
Seymen Ertas
Guest
 
Default caching with authorization header

Hi all,

I am trying to understand the apache documentation regarding cacheable content.

From the documenation ( http://httpd.apache.org/docs/2.2/caching.html ):

--------------------- Begin Apache 2.2 DOCUMENTATION -----------------------
What Can be Cached?

mod_cache caching on the other hand is more complex. When serving a
request, if it has not been cached previously, the caching module will
determine if the content is cacheable. The conditions for determining
cachability of a response are;

4. If the request contains an "Authorization:" header, the response
will not be cached.
5. If the response contains an "Authorization:" header, it must
also contain an "s-maxage", "must-revalidate" or "public" option in
the "Cache-Control:" header.
--------------------- End Apache 2.2 DOCUMENTATION -----------------------

Two questions regarding above

1) Is there actually a flag and/or a trick i can use so that a
"response" from a request with a authorization header can actually be
cached ?
2) When and why would ever a response actually contain a
"authorization" header ?


Thank you

-seymen

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:14 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.