GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unexpected result visiting static resources in PROD mode · Issue #1283 · actframework/actframework

Unexpected result visiting static resources in PROD mode #1283

New issue
Copy link
New issue
Copy link
Open
Open
Unexpected result visiting static resources in PROD mode#1283
Copy link
Labels
bugneed more info

Description

@jiankian
jiankian
opened on Jan 15, 2020
Issue body actions

访问静态资源路径老是异常。访问一个静态资源路径,返回的文件不是我服务器目录的文件
同一个项目,同一个资源,Ctrl+F5也没用。加问号访问才偶尔正常?
比如访问路径,f返回一个很长的文件,而这个文件不是我需要的
WX20200115-171906
强制刷新和换浏览器无用、所以不是浏览器缓存的问题。
然后修改访问路径?v=1等字符返回我的目标期望文件
WX20200115-171924
这是fu服务器上的文件:
WX20200115-172205

这是静态资源配置路径
WX20200115-172305

w文件是rythm模板引擎模板文件生成的HTML标签里的的文件,貌似是加载的文件是加载顺序出错。可能是请求A,B两个队列,结果B队列请求到的文件内容还是A队列的请求。
WX20200115-173047

Activity

  1. jiankian commented on Jan 15, 2020

    @jiankian
    jiankian
    on Jan 15, 2020
    Author
    More actions

    开发模式一切正常,就是打包以后不正常,,哎哎哎。
    是不是资源静态路径一长就各种问题。不得而知了,貌似文件都是Java去加载的。

  2. greenlaw110 commented on Jan 15, 2020

    @greenlaw110
    greenlaw110
    on Jan 15, 2020
    Contributor
    More actions

    @jiankian 请报告一下 act 的版本, 另外请给出静态资源的链接. 谢谢

  3. jiankian commented on Jan 15, 2020

    @jiankian
    jiankian
    on Jan 15, 2020
    Author
    More actions

    @jiankian 请报告一下 act 的版本, 另外请给出静态资源的链接. 谢谢

    1.8.30

  4. jiankian commented on Jan 15, 2020

    @jiankian
    jiankian
    on Jan 15, 2020
    Author
    More actions

    服务器控制台经常性爆出异常!未知原因。首页访问正常!
    WX20200115-182149

  5. greenlaw110
    changed the title [-]访问静态资源路径老是异常。访问一个静态资源路径,返回的文件不是我服务器目录的文件[/-] [+]Unexpected result visiting static resources in PROD mode[/+] on Jan 15, 2020
  6. greenlaw110 commented on Feb 17, 2020

    @greenlaw110
    greenlaw110
    on Feb 17, 2020
    Contributor
    More actions

    @jiankian 我们需要定位并干掉这个问题. 你能给我一个可以重现问题的项目吗?

  7. greenlaw110
    added
    bug
    need more info
    on Feb 17, 2020
  8. greenlaw110
    added this to the 1.8.32 milestone on Feb 17, 2020
  9. greenlaw110
    removed this from the 1.8.32 milestone on Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneed more info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.