Skip to content
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

Slugs and Caching: Task 1: serve all the static resources under a slug path #2100

Closed
9 tasks done
gvishal opened this issue Jun 14, 2016 · 0 comments
Closed
9 tasks done

Comments

@gvishal
Copy link
Contributor

gvishal commented Jun 14, 2016

To Do:

  • implement slugs for /images.
  • implement slugs for /scripts
  • implement slugs for /pages
  • implement slugs for i18n.
  • implement slugs for css.
  • implement slugs for third_party
  • implement slugs for extensions
  • modify build.py and deploy.py, adding logic for production builds.
  • modify app.yaml

Refer: https://docs.google.com/document/d/1Z7ZdrHkewcFOUthKkR0J3rDN-cJK9E3qOImbXVkG6bk/edit#heading=h.n82p94jx2enk

/cc @BenHenning @maitbayev

@gvishal gvishal added this to the Speed milestone Jun 14, 2016
@gvishal gvishal self-assigned this Jun 14, 2016
@gvishal gvishal changed the title Improve Cache Behaviour Improve Cache Behaviour: add cache slugs. Jul 1, 2016
@gvishal gvishal changed the title Improve Cache Behaviour: add cache slugs. Slugs and Caching: Task 1: serve all the static resources under a slug path Jul 2, 2016
seanlip pushed a commit that referenced this issue Jul 23, 2016
* Added cache slugs for images and modified all references to the images.

* Added interpolation service to get static image url, modified non-page level html files and corresponding directives/controllers to use it, addressed review comments

* Modified /script tags

* Added cache slugs for i18n

* Fixed failing test and added i18n/prod to git ignore.

* Cache slugs new approach POC

* Modified references for images, scripts and i18n.
Added methods to return static resource url.
Modified app.yaml.

* Modified gulp file and references to oppia.css and third_party css and js files.

* Added slugs to extensions

* Fixed test for get_cache_slug

* Modified build.py and deploy.py

* Addressed review comments

* Modify imports

* Modified src to ng-src and other review comments fixed.

* Modified build.py

* Minor change

* Removed feconf.CACHE_SLUG_DEV and refactored

* Added random cache slug

* Refactored code.

* Modified references for extensions, added extensions to build process and refactored methods in UrlInterpolationService

* Fixed bug

* Addressed review comments.

* Fix failing tests

* Fixed bug.

* Added tests for urlinterpolationservice.

* Added interpolation for interactions and logic_proof.html

* Addressed review comments

* Addressed review comments

* Removed unnecessary include from templates

* Modified precommit linter script to fix endless waiting

* Commented script and added assets/scripts to exclusions.
wxyxinyu pushed a commit that referenced this issue Aug 8, 2016
* Added cache slugs for images and modified all references to the images.

* Added interpolation service to get static image url, modified non-page level html files and corresponding directives/controllers to use it, addressed review comments

* Modified /script tags

* Added cache slugs for i18n

* Fixed failing test and added i18n/prod to git ignore.

* Cache slugs new approach POC

* Modified references for images, scripts and i18n.
Added methods to return static resource url.
Modified app.yaml.

* Modified gulp file and references to oppia.css and third_party css and js files.

* Added slugs to extensions

* Fixed test for get_cache_slug

* Modified build.py and deploy.py

* Addressed review comments

* Modify imports

* Modified src to ng-src and other review comments fixed.

* Modified build.py

* Minor change

* Removed feconf.CACHE_SLUG_DEV and refactored

* Added random cache slug

* Refactored code.

* Modified references for extensions, added extensions to build process and refactored methods in UrlInterpolationService

* Fixed bug

* Addressed review comments.

* Fix failing tests

* Fixed bug.

* Added tests for urlinterpolationservice.

* Added interpolation for interactions and logic_proof.html

* Addressed review comments

* Addressed review comments

* Removed unnecessary include from templates

* Modified precommit linter script to fix endless waiting

* Commented script and added assets/scripts to exclusions.
ctao5660 pushed a commit to ctao5660/oppia that referenced this issue Nov 23, 2018
* Added cache slugs for images and modified all references to the images.

* Added interpolation service to get static image url, modified non-page level html files and corresponding directives/controllers to use it, addressed review comments

* Modified /script tags

* Added cache slugs for i18n

* Fixed failing test and added i18n/prod to git ignore.

* Cache slugs new approach POC

* Modified references for images, scripts and i18n.
Added methods to return static resource url.
Modified app.yaml.

* Modified gulp file and references to oppia.css and third_party css and js files.

* Added slugs to extensions

* Fixed test for get_cache_slug

* Modified build.py and deploy.py

* Addressed review comments

* Modify imports

* Modified src to ng-src and other review comments fixed.

* Modified build.py

* Minor change

* Removed feconf.CACHE_SLUG_DEV and refactored

* Added random cache slug

* Refactored code.

* Modified references for extensions, added extensions to build process and refactored methods in UrlInterpolationService

* Fixed bug

* Addressed review comments.

* Fix failing tests

* Fixed bug.

* Added tests for urlinterpolationservice.

* Added interpolation for interactions and logic_proof.html

* Addressed review comments

* Addressed review comments

* Removed unnecessary include from templates

* Modified precommit linter script to fix endless waiting

* Commented script and added assets/scripts to exclusions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants