-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate delay when adding assets #367
Comments
|
|
Does it make a difference if you have mod_development enabled? |
Checking if I am correct in understanding the issue.
Then step (3) doesn't show the file and returns 404? Did you try loading the file before step 2? |
I just tried:
So requesting the new file will serve it. Iff this is the root cause of the mentioned problem then we could add the file directly to the index of all sites that have enabled the affected module. This is possible iff the file is a new file, as otherwise we need to take the module hierarchy in account (which is done by the indexer). |
On a side note, the Zotonic |
When building versioned assets (containing a unique hash in their filename), it takes quite a while for Zotonic to pick up the change. This is the case on both on our (Docker) development environment and (native) production ones.
inotify picks up the change quickly, but still the file returns a 404:
Then execute
npm run build
:bla.txt
), so without the NPM build step?z:flush()
make the files available immediately?/cc @rl-king
The text was updated successfully, but these errors were encountered: