Current time: 09-16-2019, 06:14 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
caching max-age for static resources that contains "?"
08-21-2013, 09:41 AM
Post: #1
caching max-age for static resources that contains "?"
Hello Community,
Is it a bad idea to cache (max-age) static resources that contain a query "?...." in the URL?

Thanks in advance.

TRX
Find all posts by this user
Quote this message in a reply
08-21-2013, 11:07 AM
Post: #2
RE: caching max-age for static resources that contains "?"
No. It's ok and a good way to manage different versions of the same file.
But keep in mind that some proxies don't cache items with query string.
Find all posts by this user
Quote this message in a reply
08-22-2013, 03:52 AM
Post: #3
RE: caching max-age for static resources that contains "?"
Our CDN is showing that the static file that contains the "?" is a X-HIT, so I think we are good.
Thanks for the advice.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)