File Expiration Times

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
tfh
-


Joined: 03 May 2020
Posts: 117
Location: Netherlands

PostPosted: Wed Aug 21, 2024 4:10 pm    Post subject: File Expiration Times Reply with quote

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 View user's profile Send private message Visit poster's website
pkSML
-


Joined: 29 May 2006
Posts: 955
Location: Michigan, USA

PostPosted: Mon Sep 09, 2024 9:15 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1306

PostPosted: Thu Sep 12, 2024 9:05 pm    Post subject: Re: File Expiration Times Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group