Closed tanakahisateru closed 12 years ago
ETag and last-modified header is useful to boost performance to respond GET request. Pinoco::serveStatic() can do but it's for only static file (e.g. uploaded image or such as) serving. I also use that code when creating pages.
Users can use abortIfNotModified as standalone method before serving content.
abortIfNotModified
ETag and last-modified header is useful to boost performance to respond GET request. Pinoco::serveStatic() can do but it's for only static file (e.g. uploaded image or such as) serving. I also use that code when creating pages.