schnti / kirby3-cachebuster

11 stars 5 forks source link

Question: use hash for fingerprint instead of filename #9

Open moritzebeling opened 2 years ago

moritzebeling commented 2 years ago

Wouldn’t it be easier to include the fingerprint as a hash instead of including it in the filename?

filename.fingerprint.ext -> filename.ext?fingerprint

As far as I know using the hash is a pretty common technique and doesn’t require the .htaccess thing... Or is there any advantage of your approach that I am missing?

Thank you!

carstenjaksch commented 1 year ago

The hash thing is not widely supported and not recommended. WordPress uses it and I have daily cache busting issues with clients not seeing the changes.