Libbum / AxiomaticSemantics

Personal blog powered by zola
https://axiomatic.neophilus.net
4 stars 2 forks source link

Cache js files #18

Open Libbum opened 6 years ago

Libbum commented 6 years ago

Whenever I put an expiry on js files in my nginx config, the comment system's js files return 404. It's running behind a reverse proxy serving to /isso.

location ~* \.js {
    expires 60d;
}

Is the issue, but I can't seem to ignore the files in /isso/js with this glob.

Libbum commented 6 years ago

If this is to ever get fixed, it's probably necessary to then extract the search index from axoimatic.js and exclude it from the cache.