Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #29201


Ignore:
Timestamp:
08/13/2014 11:36:36 AM (10 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29201

    • Property Component changed from General to Script Loader
  • Ticket #29201 – Description

    initial v1  
    1   Most proxies, most notably Squid up through version 3.0, do not cache resources with a "?" in their URL even if a Cache-control: public header is present in the response. To enable proxy caching for these resources, remove query strings from references to static resources, and instead encode the parameters into the file names themselves.
    2   http://gtmetrix.com/remove-query-strings-from-static-resources.html
     1Most proxies, most notably Squid up through version 3.0, do not cache resources with a "?" in their URL even if a Cache-control: public header is present in the response. To enable proxy caching for these resources, remove query strings from references to static resources, and instead encode the parameters into the file names themselves.
     2http://gtmetrix.com/remove-query-strings-from-static-resources.html
    33
    44wp_enqueue_style and wp_enqueue_script have a parameter $ver to specify a version number, but it adds a query string in the returned link.