Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Cache issues #38

Closed
shadyb opened this issue Oct 7, 2014 · 9 comments · May be fixed by #40
Closed

Cache issues #38

shadyb opened this issue Oct 7, 2014 · 9 comments · May be fixed by #40

Comments

@shadyb
Copy link

shadyb commented Oct 7, 2014

There appears to be issues with the resqueboard content loading on page refresh. I have to force refresh the page several times before the content loads. First time I've encountered a tool that caches so aggressively. Do you know exactly what is causing it ? I have set all the relevant expiry/no-cache headers to no avail.

@wa0x6e
Copy link
Owner

wa0x6e commented Oct 14, 2014

What do you mean by "before the content loads" ? Is it displaying a page with all the menus, but no components (graphs, etc ...), or just a plain blank page ?

For the former case, I think it's an issue with Angularjs, the project's stuck with a very outdated version.

@shadyb
Copy link
Author

shadyb commented Oct 21, 2014

It is displaying the menu with no components.

Okay, so you suspect angularJS; how much work would it take to update it to a newer version ? Would it simply be a case of swapping out the .js file (as is usually the case with jquery for example) ?

@wa0x6e
Copy link
Owner

wa0x6e commented Oct 21, 2014

I'm not familiar with the newer version of AngularJS. The version used is among the first, so not very stable. Maybe the issue is with the loading order of the javascript too.

Do you have the same symptoms as in this ticket ? #23

@shadyb
Copy link
Author

shadyb commented Oct 22, 2014

Yes, applying the fix mentioned in that ticket has resolved the load issues. Strange, have you merged that fix into the master branch ?

@wa0x6e
Copy link
Owner

wa0x6e commented Oct 22, 2014

You applied that change ? https://github.com/kamisama/ResqueBoard/pull/23/files

@shadyb
Copy link
Author

shadyb commented Oct 23, 2014

I did a clone of the repo approx. 2 months ago and that patch was applied around 11 months ago. I copied and pasted the contents of the assets/js/main.js file into the src/ResqueBoard/webroot/js/main.js file and now I no longer experience the "blank component" problem. It looks like it was applied to the wrong file. I'm not sure what the assets/js/* folder is used for but since it is not in the webroot dir I presume it is not being used by the front-end. I can do a pull request and update src/ResqueBoard/webroot/js/main.js if you like ?

@paco3346
Copy link

paco3346 commented Nov 5, 2014

I can also vouch for @shadyb's fix working. I was having the same issue and adding that dependency in src/ResqueBoard/webroot/js/main.js solved the issue.

@shadyb
Copy link
Author

shadyb commented Nov 6, 2014

Thanks @paco3346. I will do a PR sometime soon and patch it.

@shadyb
Copy link
Author

shadyb commented Jan 24, 2015

Thanks for fixing the issue paco3346; forgot about resqueboard for awhile.

@shadyb shadyb closed this as completed Jan 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants