[Plugin: Live Comment Preview] Caching the JS script
-
Hi! and congratulations for this plugin!
I’m caching in client side all static files as JS scripts for server performance and better user experience.
I would like to know if you are considering (or it’s possible) to include the JS script for your plugin in a ‘regular’ cacheable way like:
myserver.com/wp-content/plugins/live-comment-preview/live-comment-preview.js
instead of:
myserver.com/?live-comment-preview.jscould save 13KB’s on every page load (or 4 KB if gzipped)
also including the version number as many other plugins do is a good idea as it will invalidate the client side cached version:
server.com/wp-content/plugins/live-comment-preview/live-comment-preview.js?ver=1.9
best regards
Fernando
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Live Comment Preview] Caching the JS script’ is closed to new replies.