Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sw360-dev] nxginx and caching of 100s of css files ...

On Fr, 09. Jun 09:49, Michael C. Jaeger wrote:
> what are your opinions on the production side. I am suspecting that
> too long expiration on the production side is maybe also unfortunate
> when it comes to the updates of the java scripts (like when we
> introduce newer versions like now)...?
No, the long epiration time is no problem. Liferay requests the files
for example via
URL:https://localhost:8443/html/portlet/login/css/main.css?browserId=other&themeId=classic&minifierType=css&languageId=en_US&b=6204&t=1497009288000
which contains a timestamp `t=1497009288000` of the build time.

Thus caching also kicks in if the creation times of the file are the
same.

Best regards
Maximilian


-- 
Maximilian Huber * maximilian.huber@xxxxxxxxxxx * +49-174-3410223
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Christoph Stock, Dr. Robert Dahlke
Sitz: Unterföhring * Amtsgericht München * HRB 135082


Back to the top