You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/02/18 09:29:26 UTC

[GitHub] [lucene-site] janhoy opened a new pull request #13: Prevent caching surprises for CSS, JS

janhoy opened a new pull request #13: Prevent caching surprises for CSS, JS
URL: https://github.com/apache/lucene-site/pull/13
 
 
   Add a {{ STATIC_RESOURCE_SUFFIX }} to all unversioned static css and js resources to avoid caching issues.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-site] uschindler commented on issue #13: Prevent caching surprises for CSS, JS

Posted by GitBox <gi...@apache.org>.
uschindler commented on issue #13: Prevent caching surprises for CSS, JS
URL: https://github.com/apache/lucene-site/pull/13#issuecomment-588080295
 
 
   Looks good. In the future we may simply add some additional python that creates a hash out of the static folder. For now it's good. You just have to think of changing the suffix: https://pypi.org/project/checksumdir/1.0.5/

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-site] janhoy merged pull request #13: Prevent caching surprises for CSS, JS

Posted by GitBox <gi...@apache.org>.
janhoy merged pull request #13: Prevent caching surprises for CSS, JS
URL: https://github.com/apache/lucene-site/pull/13
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-site] janhoy commented on issue #13: Prevent caching surprises for CSS, JS

Posted by GitBox <gi...@apache.org>.
janhoy commented on issue #13: Prevent caching surprises for CSS, JS
URL: https://github.com/apache/lucene-site/pull/13#issuecomment-588105140
 
 
   > Hashing of directories as pypi: https://pypi.org/project/checksumdir/
   
   This was a nice solution and easy to implement. Now it is automatic. But we compute the hash in configure.py so if you change a CSS, the links will not auto update even if you run `-l -r`, so you have to start pelican again to update hashes, but that affects development only.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-site] uschindler edited a comment on issue #13: Prevent caching surprises for CSS, JS

Posted by GitBox <gi...@apache.org>.
uschindler edited a comment on issue #13: Prevent caching surprises for CSS, JS
URL: https://github.com/apache/lucene-site/pull/13#issuecomment-588080295
 
 
   Looks good. In the future we may simply add some additional python that creates a hash out of the static folder. For now it's good. You just have to think of changing the suffix.
   
   Hashing of directories as pypi: https://pypi.org/project/checksumdir/

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-site] janhoy commented on issue #13: Prevent caching surprises for CSS, JS

Posted by GitBox <gi...@apache.org>.
janhoy commented on issue #13: Prevent caching surprises for CSS, JS
URL: https://github.com/apache/lucene-site/pull/13#issuecomment-587364381
 
 
   The alternative would be to investigate an automated solution like https://pypi.org/project/pelican-webassets/ but that would probably be much more work. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-site] uschindler edited a comment on issue #13: Prevent caching surprises for CSS, JS

Posted by GitBox <gi...@apache.org>.
uschindler edited a comment on issue #13: Prevent caching surprises for CSS, JS
URL: https://github.com/apache/lucene-site/pull/13#issuecomment-588080295
 
 
   Looks good. In the future we may simply add some additional python that creates a hash out of the static folder. For now it's good. You just have to think of changing the suffix.
   
   Hashing of directories as pypi: https://pypi.org/project/checksumdir/1.0.5/

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org