Home › Forums › Jquery Validation for Contact Form 7 › Use versioned URLs to allow caching
This topic contains 2 replies, has 2 voices, and was last updated by Florian 6 months, 2 weeks ago.
-
AuthorPosts
-
July 30, 2018 at 8:28 am #10966
FlorianIt is super useful to have the CSS and JavaScript files loaded with a ?ver=1.2.3 query parameter:
– /wp-content/plugins/jquery-validation-for-contact-form-7/css/jvcf7_validate.css?ver=1.2.3
instead of
– /wp-content/plugins/jquery-validation-for-contact-form-7/css/jvcf7_validate.cssThis allows for some good caching to be applied to all files with a ?ver parameter. Once the plugin is updated, the version is increased and all old caches are invalidated.
This works by using the
wp_register_style
PHP function and providing a version.(This issue has been reported before at https://wordpress.org/support/topic/use-versioned-urls/)
July 31, 2018 at 5:14 pm #10975Hi Florian,
Thank you so much for the suggestion. I will update it.
Thanks
August 7, 2018 at 9:46 am #11010
FlorianHey and thanks for your effort. When will you release an updated version of the plugin?
Thanks again,
Florian -
AuthorPosts
The topic ‘Use versioned URLs to allow caching’ is closed to new replies.