[wp-trac] [WordPress Trac] #29201: File versioning should not use query strings, but rename the filename to allow caching
WordPress Trac
noreply at wordpress.org
Thu Jun 9 05:15:47 UTC 2016
#29201: File versioning should not use query strings, but rename the filename to
allow caching
---------------------------+--------------------------
Reporter: benoitchantre | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Script Loader | Version: 3.9.1
Severity: normal | Resolution: wontfix
Keywords: | Focuses: performance
---------------------------+--------------------------
Comment (by dd32):
> Which browsers are affected?
Any browser which respects a server-sent expiry, noting that WordPress
doesn't send those, but rather the sever configurations.
> What/Who may configure *by mistake* WP to set a too-large expire time?
WordPress developers and users are not the ones who configure the server
in most cases. Many WordPress sites get installed behind a CDN (the user
may not even realise that, or might not understand the implications of
it), etc.
It's also not uncommon (unfortunately) to find a declaration such as
`ExpiresByType text/css "access plus 30 days"` on some preconfigured
servers, which the end-user can't modify.
WordPress is rarely run in a scenario where the configuration of all the
moving parts is perfect, that's why WordPress "just works" almost anywhere
- it's amazing for an end-user, yet also introduces extra restrictions
upon what we (the WordPress project) can reasonably do.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29201#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list