E3F4 Do not append query string (app version) to CDN resource URLs · Issue #3 · b2evolution/b2evolution · GitHub
[go: up one dir, main page]

Skip to content

Do not append query string (app version) to CDN resource URLs #3

@blueyed

Description

@blueyed

get_require_url appends the app's version to the URLs unconditionally, but shouldn't do this for URLs served via CDN.

Some proxies (e.g. Squid) will not cache URLs containing a ? properly / altogether.

(Source:
https://github.com/b2evolution/b2evolution/blob/master/blogs/inc/_core/_template.funcs.php#L900-L908)

I've noticed this when using the demo site without browser disk cache, but a local Squid instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ReviewThis is being reviewed by a core developer

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0