View previous topic :: View next topic |
Author |
Message |
tfh -
Joined: 03 May 2020 Posts: 117 Location: Netherlands
|
Posted: Wed Aug 21, 2024 4:10 pm Post subject: File Expiration Times |
|
|
I have the following File Expiration Times set:
but I still see quite a lot of requests for for example the font & CSS files which stil get fully answered (http code 200) in my log. Am I doing something wrong here? _________________ https://www.arnauddeklerk.com
https://www.file-hunter.com |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Mon Sep 09, 2024 9:15 pm Post subject: |
|
|
I just visited https://www.arnauddeklerk.com/about/ and all the files have a 30-day expiration date (HTML, CSS, JS, JPG, PNG, WOFF2).
You may want to move the catch-all MIME type to the last position in the list so the other items get priority over it.
BTW, You can load up Chrome, press F12 to load the DevTools. Click the "Network" tab and navigate the browser window to your site. The Network tab will be populated with the web requests. Click one of them to see the headers sent by your site. This will help you quickly confirm whether your settings are being transmitted correctly.
_________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1306
|
Posted: Thu Sep 12, 2024 9:05 pm Post subject: Re: File Expiration Times |
|
|
tfh wrote: | I have the following File Expiration Times set:
but I still see quite a lot of requests for for example the font & CSS files which stil get fully answered (http code 200) in my log. Am I doing something wrong here? |
Browsers are not forced to perform HTTP content negotiations. They can bypass caching and choose to get a new copy. _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
|